/*
Theme Name: Sitefix Elementor Fixed
Theme URI: https://wp-elementor-fixed.sitefix-lab.work/
Author: Sitefix Lab
Description: Clean WordPress + Elementor repair lab theme using dummy data only.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: sitefix-elementor-fixed
*/

:root {
	--ink: #172033;
	--muted: #607083;
	--line: #dbe3ee;
	--paper: #f8fafc;
	--panel: #ffffff;
	--teal: #0f766e;
	--blue: #2563eb;
	--berry: #9f1239;
	--amber: #b7791f;
	--soft-teal: #e6f4f1;
	--soft-blue: #eef4ff;
	--shadow: 0 16px 42px rgba(23, 32, 51, .08);
	font-family: Arial, Helvetica, sans-serif;
}

* {
	box-sizing: border-box;
}

html,
body {
	max-width: 100%;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--paper);
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.55;
}

a {
	color: inherit;
}

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

.skip-link {
	position: absolute;
	left: -999px;
	top: 12px;
	z-index: 1000;
	padding: 10px 14px;
	background: #ffffff;
	border: 1px solid var(--line);
}

.skip-link:focus {
	left: 12px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 8px 26px rgba(23, 32, 51, .06);
}

.site-label {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	background: var(--ink);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0;
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 15px 22px;
}

.site-brand {
	display: grid;
	gap: 2px;
	min-width: 220px;
	text-decoration: none;
}

.site-brand strong {
	font-size: 18px;
	line-height: 1.1;
}

.site-brand span {
	color: var(--muted);
	font-size: 12px;
}

.primary-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu a {
	display: block;
	padding: 8px 10px;
	color: var(--ink);
	text-decoration: none;
	border: 1px solid transparent;
	font-size: 14px;
	border-radius: 4px;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
	border-color: var(--line);
	background: #f2f6fb;
}

.site-main {
	min-height: 70vh;
}

.content-shell {
	max-width: 1080px;
	margin: 0 auto;
	padding: 56px 22px;
}

.content-shell h1 {
	max-width: 780px;
	margin: 0 0 18px;
	font-size: clamp(34px, 4vw, 54px);
	line-height: 1.04;
	letter-spacing: 0;
}

.content-shell .entry-content {
	max-width: 860px;
}

.entry-content table,
.elementor-widget-text-editor table {
	width: 100%;
	border-collapse: collapse;
	margin: 22px 0;
	background: #ffffff;
	border: 1px solid var(--line);
}

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

.entry-content th,
.elementor-widget-text-editor th {
	background: #eef4ff;
	font-weight: 700;
}

.site-footer {
	border-top: 1px solid var(--line);
	background: var(--ink);
	color: #eef4ff;
}

.site-footer-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 26px 22px;
	font-size: 13px;
	color: #cad3e2;
}

.sitefix-elementor-page .entry-content {
	max-width: none;
}

.sitefix-elementor-page .elementor-widget:not(:first-child) {
	margin-top: 10px;
}

.nsd-section,
.nsd-container,
.nsd-card,
.nsd-badge,
.nsd-review {
	max-width: 100%;
}

.nsd-card,
.nsd-review,
.nsd-badge {
	overflow-wrap: anywhere;
}

.nsd-kicker {
	display: inline-flex;
	align-items: center;
	padding: 7px 10px;
	background: var(--soft-teal);
	color: #115e59;
	border: 1px solid #b7dfd7;
	border-radius: 4px;
	font-weight: 700;
	font-size: 13px;
}

.nsd-hero-title {
	max-width: 780px;
}

.nsd-hero-copy {
	max-width: 660px;
	color: var(--muted);
	font-size: 18px;
}

.nsd-hero-image img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.nsd-card,
.nsd-review,
.nsd-badge,
.sitefix-demo-form {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.nsd-card {
	padding: 22px;
	min-height: 170px;
}

.nsd-card h3,
.nsd-card h4 {
	margin-top: 0;
}

.nsd-card p {
	color: var(--muted);
}

.nsd-card-grid,
.nsd-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.nsd-review-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.nsd-review {
	padding: 18px;
	min-height: 180px;
}

.nsd-review strong,
.nsd-review span {
	display: block;
}

.nsd-review span {
	margin-top: 2px;
	color: var(--muted);
	font-size: 13px;
}

.nsd-review p {
	margin-bottom: 0;
	color: var(--muted);
}

.nsd-badge-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.nsd-badge {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	min-height: 88px;
}

.nsd-badge img {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
}

.nsd-price-table {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.nsd-price {
	padding: 22px;
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 8px;
}

.nsd-price strong {
	display: block;
	font-size: 30px;
	color: var(--teal);
}

.sitefix-demo-form {
	display: grid;
	gap: 12px;
	max-width: 680px;
	padding: 22px;
}

.sitefix-demo-form label {
	display: grid;
	gap: 6px;
	font-weight: 700;
	color: var(--ink);
}

.sitefix-demo-form input,
.sitefix-demo-form select,
.sitefix-demo-form textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #b8c1d1;
	border-radius: 4px;
	background: #ffffff;
	font: inherit;
}

.sitefix-demo-form input[readonly],
.sitefix-demo-form textarea[readonly] {
	background: #f5f8fb;
}

.sitefix-demo-form button {
	justify-self: start;
	padding: 12px 18px;
	border: 0;
	border-radius: 4px;
	background: var(--teal);
	color: #ffffff;
	font-weight: 700;
	cursor: pointer;
}

.sitefix-demo-form .form-note,
.sitefix-demo-form .form-result {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

.sitefix-demo-form .form-result {
	display: none;
	color: #115e59;
	font-weight: 700;
}

.sitefix-demo-form.is-validated .form-result {
	display: block;
}

@media (max-width: 900px) {
	.site-header-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.primary-menu {
		justify-content: flex-start;
	}

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

@media (max-width: 767px) {
	.nsd-grid,
	.nsd-card-grid,
	.nsd-badge-grid,
	.nsd-review-grid,
	.nsd-price-table {
		display: grid;
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.nsd-hero-title {
		font-size: clamp(32px, 10vw, 48px);
		line-height: 1.05;
	}

	.site-header-inner,
	.content-shell,
	.site-footer-inner {
		padding-left: 18px;
		padding-right: 18px;
	}
}
