/* Nexevo production polish: one bounded layer for cross-template refinements. */

:root {
	--nexevo-control-ring: 0 0 0 4px rgba(8, 112, 232, 0.14);
	--nexevo-card-shadow: 0 10px 30px rgba(13, 29, 44, 0.07);
	--nexevo-card-shadow-hover: 0 18px 44px rgba(13, 29, 44, 0.12);
	--nexevo-button-shadow: 0 8px 20px rgba(13, 29, 44, 0.09);
	--nexevo-button-shadow-hover: 0 12px 28px rgba(8, 112, 232, 0.2);
}

/* One interaction layer for theme, Gutenberg and form buttons. */
:where(
	.button,
	.wp-element-button,
	.wp-block-button__link,
	a.nexevo-button,
	.nexevo-button:not(.wp-block-button),
	.nexevo-button > .wp-block-button__link,
	.nexevo-cf7 input[type="submit"],
	.nexevo-cf7 button[type="submit"]
) {
	min-height: 46px;
	border-radius: 10px;
	box-shadow: var(--nexevo-button-shadow);
	font-weight: 750;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button,
.wp-block-button__link.wp-element-button,
a.nexevo-button,
.nexevo-button:not(.wp-block-button),
.nexevo-button > .wp-block-button__link {
	border-radius: 10px;
}

:where(.text-link, .post-card__more) {
	transition: color 180ms ease, transform 180ms ease;
}

:where(
	.button,
	.wp-element-button,
	.wp-block-button__link,
	a.nexevo-button,
	.nexevo-button:not(.wp-block-button),
	.nexevo-button > .wp-block-button__link,
	.nexevo-cf7 input[type="submit"],
	.nexevo-cf7 button[type="submit"]
):hover:not(:disabled) {
	box-shadow: var(--nexevo-button-shadow-hover);
	transform: translateY(-2px);
}

:where(
	.button,
	.wp-element-button,
	.wp-block-button__link,
	a.nexevo-button,
	.nexevo-button:not(.wp-block-button),
	.nexevo-button > .wp-block-button__link,
	.nexevo-cf7 input[type="submit"],
	.nexevo-cf7 button[type="submit"]
):active:not(:disabled) {
	box-shadow: 0 4px 12px rgba(13, 29, 44, 0.1);
	transform: translateY(0) scale(0.985);
}

:where(
	.button,
	.wp-element-button,
	.wp-block-button__link,
	a.nexevo-button,
	.nexevo-button:not(.wp-block-button),
	.nexevo-button > .wp-block-button__link,
	.nexevo-cf7 input[type="submit"],
	.nexevo-cf7 button[type="submit"]
):focus-visible {
	box-shadow: var(--nexevo-control-ring);
	outline: 2px solid transparent;
}

:where(.button, .wp-element-button, .wp-block-button__link, .nexevo-button) :where(svg),
:where(.button, .wp-element-button, .wp-block-button__link, .nexevo-button) > svg {
	transition: transform 180ms ease;
}

:where(.button, .wp-element-button, .wp-block-button__link, .nexevo-button):hover :where(svg),
:where(.button, .wp-element-button, .wp-block-button__link, .nexevo-button):focus-visible :where(svg) {
	transform: translateX(3px);
}

:where(.button, .wp-element-button, .wp-block-button__link, .nexevo-button):disabled,
:where(.button, .wp-element-button, .wp-block-button__link, .nexevo-button)[aria-disabled="true"] {
	cursor: not-allowed;
	opacity: 0.58;
	transform: none;
}

:where(.card, .feature-card, .post-card, .search-result-card, .sidebar-card, .nexevo-card, .nexevo-project-card) {
	box-shadow: var(--nexevo-card-shadow);
}

:where(.card, .feature-card, .post-card, .search-result-card, .nexevo-card, .nexevo-project-card):hover {
	box-shadow: var(--nexevo-card-shadow-hover);
}

.post-card__title a:focus-visible,
.nexevo-project-card__title a:focus-visible {
	border-radius: 3px;
}

/* Waves sit between section backgrounds and remain above their edge surfaces. */
.entry-content--blocks {
	isolation: isolate;
}

.entry-content--blocks .nexevo-wave {
	position: relative;
	z-index: 2;
	height: 104px;
	margin-block: -52px;
	overflow: visible;
	clip-path: inset(-32px 0);
	isolation: isolate;
	contain: layout;
	background: transparent;
}

.nexevo-wave__svg {
	z-index: 1;
	height: 104px;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.entry-content--blocks .nexevo-wave + :where(.nexevo-section, .nexevo-why, .nexevo-cta, .nexevo-service-cta) {
	position: relative;
	z-index: 1;
}

/* Archive, search and utility views. */
.archive-header,
.knowledge-header {
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.search-result-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.search-result-card:hover {
	border-color: #bfd5e8;
	transform: translateY(-3px);
}

.search-result-card__url {
	margin-top: auto;
	padding-top: 0.75rem;
	color: var(--color-primary-dark);
}

.empty-state--404 {
	border-style: solid;
	background: linear-gradient(145deg, #fff 0%, var(--color-soft-blue) 100%);
}

/* Portfolio grids retain equal cards at 3 / 2 / 1 columns. */
.nexevo-portfolio-grid,
.nexevo-projects-grid {
	align-items: stretch;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nexevo-portfolio-grid > *,
.nexevo-projects-grid > * {
	min-width: 0;
	height: 100%;
}

.nexevo-project-card__content {
	height: 100%;
}

/* Realization screenshots stay fully legible inside a consistent viewport. */
.nexevo-portfolio-grid .nexevo-project-card__media,
.nexevo-home .nexevo-project-card__image {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 5;
	overflow: hidden;
	background: linear-gradient(145deg, #eef6ff 0%, #f8fafc 100%);
}

.nexevo-portfolio-grid .nexevo-project-card__media {
	display: flex;
	align-items: stretch;
}

.nexevo-portfolio-grid .nexevo-project-card__media-link {
	display: block;
	position: relative;
	width: auto;
	height: 100%;
	flex: 1 1 auto;
}

.nexevo-home .nexevo-project-card__image > a {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
}

.nexevo-portfolio-grid .nexevo-project-card__media img,
.nexevo-home .nexevo-project-card__image img {
	display: block;
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	margin: 0;
	max-width: 100% !important;
	max-height: 100% !important;
	aspect-ratio: auto !important;
	object-fit: contain !important;
	object-position: center !important;
	transform: none !important;
}

/* Premium visual rhythm shared by the home page and inner-page heroes. */
.nexevo-home .nexevo-hero--premium {
	padding-block: clamp(4.5rem, 7vw, 7rem) clamp(6rem, 9vw, 8.5rem);
	background:
		radial-gradient(circle at 82% 24%, rgba(8, 112, 232, 0.15), transparent 34%),
		linear-gradient(115deg, #fff 0%, #fff 47%, #edf6ff 100%);
}

.nexevo-home .nexevo-hero--premium .nexevo-hero__grid {
	max-width: 1320px;
	grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
	gap: clamp(2rem, 5vw, 5rem);
}

.nexevo-home .nexevo-hero--premium .nexevo-hero__media {
	margin-right: clamp(-2.5rem, -3vw, -1rem);
}

.nexevo-home .nexevo-hero--premium .nexevo-hero__media::after {
	display: none;
}

.nexevo-home .nexevo-hero--premium .nexevo-hero__image img {
	min-height: 0;
	aspect-ratio: 8 / 5;
	object-position: 58% center;
	border-radius: 24px;
	box-shadow: 0 34px 80px rgba(13, 29, 44, 0.18);
}

:where(.nexevo-service-hero, .nexevo-about-hero, .nexevo-projects-hero, .nexevo-contact-hero, .nexevo-knowledge-hero) {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 88% 15%, rgba(8, 112, 232, 0.11), transparent 30%),
		linear-gradient(135deg, #fff 0%, #f7fbff 100%);
}

:where(.nexevo-service-hero, .nexevo-about-hero, .nexevo-projects-hero, .nexevo-contact-hero, .nexevo-knowledge-hero) h1 {
	max-width: 18ch;
}

:where(.nexevo-section, .nexevo-why, .nexevo-process, .nexevo-projects, .nexevo-home-knowledge) .nexevo-section-heading {
	max-width: 780px;
}

/* Compact, touch-friendly mobile navigation trigger. */
@media (max-width: 899px) {
	.menu-toggle {
		display: inline-grid;
		grid-template-columns: auto 24px;
		gap: 0.55rem;
		align-items: center;
		min-height: 44px;
		padding: 0.55rem 0.8rem;
		border-radius: 11px;
		box-shadow: 0 5px 16px rgba(13, 29, 44, 0.06);
		cursor: pointer;
	}

	.menu-toggle__icon {
		display: block;
		position: relative;
		width: 24px;
		height: 18px;
		margin-left: 0;
		transition: transform 180ms ease;
	}

	.menu-toggle__icon::after,
	.menu-toggle__icon i {
		position: absolute;
		left: 0;
		display: block;
		width: 24px;
		height: 0;
		border-top-width: 2px;
		transform-origin: center;
		transition: opacity 180ms ease, transform 180ms ease;
	}

	.menu-toggle__icon i:first-child {
		top: 1px;
	}

	.menu-toggle__icon i:last-child {
		top: 8px;
	}

	.menu-toggle__icon::after {
		top: 15px;
		border-top: 2px solid currentColor;
		content: "";
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child {
		transform: translateY(7px) rotate(45deg);
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child {
		opacity: 0;
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
		transform: translateY(-7px) rotate(-45deg);
	}
}

/* Gutenberg CTA links inside articles must retain button contrast. */
.nexevo-single-content .nexevo-article-cta .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0.8rem 1.35rem;
	border: 1px solid var(--color-primary);
	border-radius: 8px;
	background: var(--color-primary);
	box-shadow: 0 10px 26px rgba(8, 112, 232, 0.22);
	color: #fff !important;
	font-weight: 750;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
}

.nexevo-single-content .nexevo-article-cta .wp-block-button__link:hover,
.nexevo-single-content .nexevo-article-cta .wp-block-button__link:focus-visible {
	border-color: var(--color-primary-hover);
	background: var(--color-primary-hover);
	color: #fff !important;
}

/* Contact Form 7: controls, validation and accessible response states. */
.nexevo-cf7 {
	display: grid;
	gap: 1.15rem;
}

.nexevo-cf7 :where(p) {
	margin: 0;
}

.nexevo-cf7 :where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), select, textarea) {
	width: 100%;
	min-height: 52px;
	padding: 0.8rem 0.95rem;
	border: 1px solid var(--color-line);
	border-radius: 8px;
	background-color: var(--color-paper);
	color: var(--color-ink);
	transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.nexevo-cf7 textarea {
	min-height: 160px;
	resize: vertical;
}

.nexevo-cf7 :where(input, select, textarea):focus-visible {
	border-color: var(--color-primary);
	box-shadow: var(--nexevo-control-ring);
	outline: 0;
}

.nexevo-cf7 .wpcf7-not-valid {
	border-color: #c93434 !important;
	background: #fffafa;
}

.nexevo-cf7 .wpcf7-not-valid-tip {
	display: block;
	margin-top: 0.35rem;
	color: #a62525;
	font-size: 0.82rem;
	font-weight: 650;
}

.nexevo-cf7 .wpcf7-list-item {
	margin: 0;
}

.nexevo-cf7 .wpcf7-acceptance label {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 0.7rem;
	align-items: start;
	font-weight: 500;
	line-height: 1.55;
}

.nexevo-cf7 input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0.2rem 0 0;
	accent-color: var(--color-primary);
}

.nexevo-cf7 :where(input[type="submit"], button[type="submit"]) {
	min-height: 50px;
	transition: opacity 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nexevo-cf7 :where(input[type="submit"], button[type="submit"]):hover:not(:disabled) {
	box-shadow: 0 10px 24px rgba(8, 112, 232, 0.22);
	transform: translateY(-2px);
}

.wpcf7.is-submitting :where(input[type="submit"], button[type="submit"]) {
	cursor: wait;
	opacity: 0.68;
}

.nexevo-form-status {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
	margin: 0 !important;
	padding: 1rem 1.1rem !important;
	border: 1px solid !important;
	border-radius: 10px;
	animation: nexevo-status-in 280ms ease both;
}

.nexevo-form-status__icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	font-weight: 850;
}

.nexevo-form-status__content {
	display: grid;
	gap: 0.15rem;
}

.nexevo-form-status__content strong {
	color: var(--color-ink);
}

.nexevo-form-status--success {
	border-color: #a8dac0 !important;
	background: #f1fbf5;
	color: #286143;
}

.nexevo-form-status--success .nexevo-form-status__icon {
	background: #d8f3e4;
	color: #16653d;
}

.nexevo-form-status--invalid,
.nexevo-form-status--error {
	border-color: #efb6b6 !important;
	background: #fff6f6;
	color: #8c2828;
}

.nexevo-form-status--invalid .nexevo-form-status__icon,
.nexevo-form-status--error .nexevo-form-status__icon {
	background: #ffe1e1;
	color: #a62525;
}

@keyframes nexevo-status-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
	.nexevo-portfolio-grid,
	.nexevo-projects-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nexevo-home .nexevo-hero--premium .nexevo-hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
	}
}

@media (max-width: 768px) {
	.entry-content--blocks .nexevo-wave {
		height: 72px;
		margin-block: -36px;
		clip-path: inset(-20px 0);
	}

	.nexevo-wave__svg {
		height: 72px;
	}

	.nexevo-portfolio-grid,
	.nexevo-projects-grid {
		grid-template-columns: 1fr;
	}

	.nexevo-form-status {
		grid-template-columns: 34px minmax(0, 1fr);
		padding: 0.9rem !important;
	}

	.nexevo-form-status__icon {
		width: 34px;
		height: 34px;
	}

	.nexevo-home .nexevo-hero--premium .nexevo-hero__grid {
		grid-template-columns: 1fr;
	}

	.nexevo-home .nexevo-hero--premium .nexevo-hero__media {
		margin-right: 0;
	}

	.nexevo-home .nexevo-hero--premium .nexevo-hero__media::after {
		display: none;
	}
}

@media (max-width: 599px) {
	.menu-toggle {
		grid-template-columns: 24px;
		width: 46px;
		height: 46px;
		padding: 10px;
	}

	.menu-toggle__label {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.nexevo-article-cta .wp-block-buttons,
	.nexevo-article-cta .wp-block-button,
	.nexevo-single-content .nexevo-article-cta .wp-block-button__link {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	:where(.button, .wp-element-button, .wp-block-button__link, .nexevo-button, .nexevo-cf7 input[type="submit"], .nexevo-cf7 button[type="submit"], .card, .feature-card, .post-card, .search-result-card, .nexevo-card, .nexevo-project-card) {
		transition-duration: 0.01ms !important;
	}

	:where(.button, .wp-element-button, .wp-block-button__link, .nexevo-button) :where(svg) {
		transition: none !important;
		transform: none !important;
	}

	.nexevo-form-status {
		animation: none;
	}
}

/* ==========================================================================
   NEXEVO — ARTICLE FAQ
   Native Gutenberg Details block
   ========================================================================== */

.nexevo-single-content .wp-block-details {
	position: relative;
	margin: 0 0 12px;
	overflow: hidden;
	border: 1px solid var(--color-line, #dce5ed);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 3px 14px rgba(13, 29, 44, 0.04);
	transition:
		border-color 180ms ease,
		box-shadow 180ms ease,
		transform 180ms ease,
		background-color 180ms ease;
}

.nexevo-single-content .wp-block-details:hover {
	border-color: rgba(8, 112, 232, 0.32);
	box-shadow: 0 8px 24px rgba(13, 29, 44, 0.07);
}

.nexevo-single-content .wp-block-details[open] {
	border-color: rgba(8, 112, 232, 0.38);
	background: #fff;
	box-shadow: 0 10px 28px rgba(13, 29, 44, 0.08);
}

.nexevo-single-content .wp-block-details summary {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 64px;
	padding: 18px 64px 18px 20px;
	color: var(--color-ink, #101923);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.45;
	cursor: pointer;
	list-style: none;
	transition:
		color 180ms ease,
		background-color 180ms ease;
}

.nexevo-single-content .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.nexevo-single-content .wp-block-details summary::marker {
	content: "";
}

.nexevo-single-content .wp-block-details summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 18px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid rgba(8, 112, 232, 0.18);
	border-radius: 9px;
	background: var(--color-soft-blue, #eef6ff);
	color: var(--color-primary, #0870e8);
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1;
	transform: translateY(-50%);
	transition:
		background-color 180ms ease,
		color 180ms ease,
		border-color 180ms ease,
		transform 180ms ease;
}

.nexevo-single-content .wp-block-details summary:hover {
	color: var(--color-primary, #0870e8);
	background: rgba(238, 246, 255, 0.42);
}

.nexevo-single-content .wp-block-details summary:hover::after {
	border-color: rgba(8, 112, 232, 0.3);
	background: var(--color-primary, #0870e8);
	color: #fff;
}

.nexevo-single-content .wp-block-details[open] summary {
	color: var(--color-primary, #0870e8);
	border-bottom: 1px solid rgba(220, 229, 237, 0.8);
	background: var(--color-soft-blue, #eef6ff);
}

.nexevo-single-content .wp-block-details[open] summary::after {
	content: "−";
	border-color: var(--color-primary, #0870e8);
	background: var(--color-primary, #0870e8);
	color: #fff;
}

.nexevo-single-content .wp-block-details > :not(summary) {
	margin-right: 20px;
	margin-left: 20px;
}

.nexevo-single-content .wp-block-details > p:first-of-type {
	margin-top: 18px;
}

.nexevo-single-content .wp-block-details > p:last-child {
	margin-bottom: 20px;
}

.nexevo-single-content .wp-block-details > :not(summary) {
	color: var(--color-muted, #667482);
	line-height: 1.75;
}

.nexevo-single-content .wp-block-details summary:focus-visible {
	z-index: 1;
	outline: 3px solid rgba(8, 112, 232, 0.22);
	outline-offset: -3px;
}

@media (max-width: 599px) {
	.nexevo-single-content .wp-block-details {
		border-radius: 10px;
	}

	.nexevo-single-content .wp-block-details summary {
		min-height: 58px;
		padding: 16px 56px 16px 16px;
		font-size: 0.96rem;
	}

	.nexevo-single-content .wp-block-details summary::after {
		right: 14px;
		width: 30px;
		height: 30px;
		border-radius: 8px;
	}

	.nexevo-single-content .wp-block-details > :not(summary) {
		margin-right: 16px;
		margin-left: 16px;
	}

	.nexevo-single-content .wp-block-details > p:first-of-type {
		margin-top: 16px;
	}

	.nexevo-single-content .wp-block-details > p:last-child {
		margin-bottom: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nexevo-single-content .wp-block-details,
	.nexevo-single-content .wp-block-details summary,
	.nexevo-single-content .wp-block-details summary::after {
		transition: none !important;
	}
}


/* =========================================================
   Nexevo forms — restore original visual layout
   ========================================================= */

.nexevo-cf7 {
	display: grid;
	gap: 1.25rem;
}

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

.nexevo-cf7__field {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.nexevo-cf7__field > label {
	display: block;
	margin: 0;
	color: var(--color-ink);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.35;
}

.nexevo-cf7__field > .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
	margin: 0;
}

.nexevo-cf7__field :where(
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="url"],
	select,
	textarea
) {
	box-sizing: border-box;
	display: block;
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 0.72rem 0.85rem;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-small);
	background: var(--color-paper);
	color: var(--color-ink);
}

.nexevo-cf7__field textarea {
	min-height: 150px;
	resize: vertical;
}

.nexevo-cf7__privacy {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
}

.nexevo-cf7__privacy .wpcf7-list-item {
	margin: 0;
}

.nexevo-cf7__privacy label {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	margin: 0;
	font-weight: 500;
}

.nexevo-cf7__privacy input[type="checkbox"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0.25rem 0 0;
}

.nexevo-cf7__privacy a {
	color: var(--color-primary-dark);
	font-weight: 650;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nexevo-cf7__submit {
	margin: 0;
}

.nexevo-cf7__submit .wpcf7-submit {
	width: auto;
	min-height: 46px;
	margin: 0;
	padding: 0.75rem 1.15rem;
	border-radius: 7px;
}

.nexevo-seo-quote-form .nexevo-contact-grid {
	align-items: start;
}

.nexevo-seo-quote-form .nexevo-contact-grid > .wp-block-column {
	align-self: start;
}

.nexevo-seo-quote-form .nexevo-contact-form {
	margin-top: 0;
}

@media (max-width: 768px) {
	.nexevo-cf7__row {
		grid-template-columns: 1fr;
	}

	.nexevo-cf7__submit .wpcf7-submit {
		width: 100%;
	}
}


/* =========================================================
   FINAL FIX — CF7 field spacing + SEO quote centering
   ========================================================= */

/* Formularze: label ma siedzieć bezpośrednio nad polem */
.nexevo-cf7__field {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.nexevo-cf7__field > label {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.35 !important;
}

.nexevo-cf7__field > .wpcf7-form-control-wrap {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* CF7 potrafi dodać <br> między label a polem */
.nexevo-cf7__field > br {
	display: none !important;
}

.nexevo-cf7__field input,
.nexevo-cf7__field select,
.nexevo-cf7__field textarea {
	margin: 0 !important;
}

/* Wiersze formularza */
.nexevo-cf7__row {
	align-items: start !important;
	row-gap: 18px !important;
}

/* Wycena SEO — wyśrodkowanie sekcji z trzema boxami */
.nexevo-seo-quote-form .nexevo-contact-steps__grid,
.nexevo-contact-steps__grid {
	width: min(100%, 1320px) !important;
	margin-inline: auto !important;
	justify-content: center !important;
}

/* Jeżeli Gutenberg nadał szerokość alignwide */
.nexevo-seo-quote-form .alignwide,
.nexevo-contact-process .alignwide {
	margin-inline: auto !important;
}

/* Karty mają równe proporcje */
.nexevo-contact-steps__grid > .wp-block-column {
	min-width: 0 !important;
}

@media (min-width: 782px) {
	.nexevo-contact-steps__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 781px) {
	.nexevo-cf7__row {
		grid-template-columns: 1fr !important;
	}

	.nexevo-contact-steps__grid {
		grid-template-columns: 1fr !important;
	}
}


/* =========================================================
   FINAL DOM FIX — CF7 spacing + SEO process centering
   ========================================================= */

/* CF7 generuje dodatkowe <p> i <br> */
.nexevo-cf7__field > p {
	display: grid !important;
	gap: 8px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.nexevo-cf7__field > p + p {
	margin-top: 0 !important;
}

.nexevo-cf7__field p > label {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.35 !important;
}

.nexevo-cf7__field p > br {
	display: none !important;
}

.nexevo-cf7__field .wpcf7-form-control-wrap {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.nexevo-cf7__field input,
.nexevo-cf7__field select,
.nexevo-cf7__field textarea {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
}

/* Pole jako całość */
.nexevo-cf7__field {
	display: grid !important;
	gap: 8px !important;
	margin: 0 !important;
}

/* Wiersze dwóch pól */
.nexevo-cf7__row {
	align-items: start !important;
	column-gap: 1.25rem !important;
	row-gap: 18px !important;
}

/* =========================================================
   Wycena SEO — trzy boxy procesu
   ========================================================= */

.nexevo-service-process .nexevo-process__grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: clamp(24px, 3vw, 40px) !important;
	width: min(calc(100% - 40px), 1280px) !important;
	max-width: 1280px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.nexevo-service-process .nexevo-process-card {
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
}

@media (max-width: 781px) {
	.nexevo-cf7__row {
		grid-template-columns: 1fr !important;
	}

	.nexevo-service-process .nexevo-process__grid {
		grid-template-columns: 1fr !important;
		width: min(calc(100% - 36px), 620px) !important;
	}
}


/* NEXEVO-HOME-THUMBNAILS-20261105 */
/* Delikatne powiększenie zrzutów tylko na stronie głównej. */

.nexevo-home .nexevo-project-card__image {
    overflow: hidden;
}

.nexevo-home .nexevo-project-card__image img {
    object-fit: contain !important;
    object-position: center !important;
    transform: scale(1.12) !important;
}

/* NEXEVO-PORTFOLIO-THUMBNAILS-FIX-20261105 */
/* Wylacznie lista realizacji — bez strony glownej. */

.nexevo-portfolio-grid .nexevo-project-card__media {
    aspect-ratio: 16 / 10;
    display: block;
    padding: 0.75rem;
    overflow: hidden;
}

.nexevo-portfolio-grid .nexevo-project-card__media-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.nexevo-portfolio-grid .nexevo-project-card__media img {
    object-fit: cover !important;
    object-position: center top !important;
    transform: none !important;
}

/* KONIEC NEXEVO-PORTFOLIO-THUMBNAILS-FIX-20261105 */
