/* Nitrocare — front page sections (pixel match to mockup) */

.nc-home {
	background: #fff;
}

/* ════════ HERO ════════ */
.nc-hero {
	position: relative;
	background: linear-gradient(180deg, #f3f7fc 0%, #eaf1f9 100%);
	overflow-x: hidden;
}

.nc-home-mockup .nc-container {
	box-sizing: border-box;
	max-width: var(--nc-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: 32px;
	padding-right: 32px;
}

.nc-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.18;
	filter: saturate(0.9);
	pointer-events: none;
}

.nc-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	align-items: center;
	gap: 32px;
	min-height: 500px;
	padding: 48px 0 64px;
}

.nc-hero__content {
	max-width: 540px;
}

.nc-hero__title {
	font-size: 44px;
	line-height: 1.12;
	font-weight: 800;
	color: var(--nc-navy);
	letter-spacing: -0.01em;
	margin: 0 0 18px;
}

.nc-hero__subtitle {
	font-size: 17px;
	line-height: 1.55;
	color: var(--nc-text);
	margin: 0 0 30px;
	max-width: 440px;
}

.nc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 36px;
}

.nc-hero__actions .nc-btn {
	padding: 15px 26px;
}

.nc-hero__features {
	display: flex;
	flex-wrap: wrap;
	gap: 22px 18px;
}

.nc-hero-feature {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	flex: 0 1 160px;
	max-width: 175px;
}

.nc-hero-feature__icon {
	color: var(--nc-blue);
	flex-shrink: 0;
	margin-top: 2px;
}

.nc-hero-feature__text {
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--nc-text);
	font-weight: 500;
}

.nc-hero__media {
	width: 100%;
}

.nc-hero__stage {
	position: relative;
	width: 100%;
	height: 400px;
	min-height: 400px;
	margin: 0 auto;
	border-radius: 20px;
	border: 1px solid var(--nc-line);
	box-shadow:
		0 24px 56px rgba(16, 35, 63, 0.14),
		0 10px 28px rgba(16, 35, 63, 0.08);
	overflow: hidden;
	background: #eef4fb;
}

.nc-hero__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nc-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.nc-hero__slider {
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 4px 16px rgba(16, 35, 63, 0.1);
}

.nc-home .nc-hero__arrow {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--nc-line) !important;
	background: #fff !important;
	color: var(--nc-navy) !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0 !important;
	box-shadow: var(--nc-shadow-sm);
	transition: color 0.15s ease, border-color 0.15s ease;
}

.nc-home .nc-hero__arrow:hover {
	color: var(--nc-blue) !important;
	border-color: var(--nc-blue) !important;
}

.nc-hero__dots {
	display: flex;
	gap: 8px;
}

.nc-home .nc-hero__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #c2cedd !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	cursor: pointer;
	transition: width 0.2s ease, background 0.2s ease;
}

.nc-home .nc-hero__dot.is-active {
	width: 22px;
	border-radius: 999px;
	background: var(--nc-blue) !important;
}

/* ════════ CATEGORY CARDS ════════ */
.nc-cats {
	position: relative;
	margin-top: 48px;
	z-index: 5;
	padding-top: 8px;
	padding-bottom: 16px;
}

.nc-cats__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}

.nc-cats__title {
	font-size: 26px;
	font-weight: 800;
	color: var(--nc-navy);
	margin: 0;
	line-height: 1.2;
}

.nc-site a.nc-cats__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--nc-blue) !important;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.nc-site a.nc-cats__all:hover {
	color: var(--nc-blue-dark) !important;
}

.nc-cats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.nc-site a.nc-cat-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--nc-line);
	border-radius: 16px;
	box-shadow: var(--nc-shadow-card);
	overflow: hidden;
	color: var(--nc-navy) !important;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nc-site a.nc-cat-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 40px rgba(16, 35, 63, 0.13);
	border-color: #d4e2f5;
	color: var(--nc-navy) !important;
}

.nc-cat-card__media {
	position: relative;
	height: 148px;
	background: linear-gradient(145deg, #f4f8fd 0%, #e8f0fa 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px 20px;
	overflow: hidden;
}

.nc-cat-card__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 80% 20%, rgba(28, 95, 214, 0.08), transparent 55%);
	pointer-events: none;
}

.nc-cat-card__media img {
	position: relative;
	z-index: 1;
	max-width: 100%;
	max-height: 120px;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform 0.25s ease;
}

.nc-site a.nc-cat-card:hover .nc-cat-card__media img {
	transform: scale(1.05);
}

.nc-cat-card__content {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px 20px;
}

.nc-cat-card__title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--nc-navy);
	margin: 0;
}

.nc-cat-card__count {
	font-size: 12px;
	color: var(--nc-muted);
	font-weight: 500;
}

.nc-cat-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--nc-blue);
	font-size: 13px;
	font-weight: 600;
	margin-top: 4px;
}

.nc-cat-card__link svg {
	transition: transform 0.15s ease;
}

.nc-site a.nc-cat-card:hover .nc-cat-card__link svg {
	transform: translateX(3px);
}

/* ════════ WHY US + FORM ════════ */
.nc-why {
	margin-top: 44px;
}

.nc-why__panel {
	background: var(--nc-panel);
	border-radius: 20px;
	padding: 48px;
	display: grid;
	grid-template-columns: 1.55fr 1fr;
	gap: 44px;
	align-items: start;
}

.nc-why__heading {
	font-size: 28px;
	font-weight: 800;
	color: var(--nc-navy);
	margin: 0 0 28px;
}

.nc-why__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px 32px;
}

.nc-why-item__icon {
	color: var(--nc-blue);
	margin-bottom: 12px;
}

.nc-why-item__title {
	font-size: 15px;
	font-weight: 700;
	color: var(--nc-navy);
	line-height: 1.3;
	margin: 0 0 8px;
}

.nc-why-item__text {
	font-size: 13px;
	line-height: 1.5;
	color: var(--nc-muted);
	margin: 0;
}

/* Consultation form card */
/* Form styles live in site-modern.css (shared with callback modal). */

/* ── Legacy homepage body (Elementor / theme blocks below mockup) ── */

.nc-home-legacy {
	clear: both;
}

/* Hide old hero sliders duplicated from the page builder */
body.home .nc-home-legacy .elementor-element-3c5b753,
body.home .nc-home-legacy .elementor-widget-nm-banner-slider,
body.home .nc-home-legacy .nm-banner,
body.home .nc-home-legacy .nm-banners,
body.home .nc-home-legacy .nm-banner-slider {
	display: none !important;
}

/* Hide old WooCommerce catalog block (replaced by mockup .nc-cats) */
body.home .nc-home-legacy .elementor-element-a940754,
body.home .nc-home-legacy .elementor-element-220706b,
body.home .nc-home-legacy .elementor-widget-wc-categories {
	display: none !important;
}

/* ── Responsive home ── */

/* Large tablet / small desktop (iPad landscape, 1024px laptops) */
@media (max-width: 1100px) {
	.nc-home-mockup .nc-container {
		padding-left: 32px;
		padding-right: 32px;
	}

	.nc-hero__inner {
		display: flex;
		flex-direction: column;
		gap: 32px;
		min-height: 0;
		padding: 36px 0 48px;
		align-items: stretch;
	}

	.nc-hero__content {
		max-width: none;
		width: 100%;
	}

	.nc-hero__subtitle {
		max-width: none;
		margin-bottom: 24px;
	}

	.nc-hero__media {
		order: -1;
		width: 100%;
		flex: none;
	}

	.nc-hero__title {
		font-size: 36px;
	}

	.nc-hero__stage {
		width: 100%;
		height: 320px;
		min-height: 320px;
		border-radius: 16px;
	}

	.nc-hero__actions {
		margin-bottom: 28px;
	}

	.nc-hero-feature {
		flex: 1 1 calc(50% - 9px);
		max-width: none;
	}

	.nc-cats {
		margin-top: 40px;
	}

	.nc-cats__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px;
	}

	.nc-cats__title {
		font-size: 22px;
	}

	.nc-why__panel {
		grid-template-columns: 1fr;
		gap: 36px;
	}
}

/* Tablet */
@media (max-width: 900px) {
	.nc-hero__inner {
		padding: 28px 0 44px;
		gap: 28px;
	}

	.nc-hero__stage {
		height: 300px;
		min-height: 300px;
	}

	.nc-cats {
		margin-top: 36px;
	}
}

/* Mobile */
@media (max-width: 768px) {
	.nc-home-mockup .nc-container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.nc-hero__title {
		font-size: 30px;
		line-height: 1.15;
	}

	.nc-hero__subtitle {
		font-size: 15px;
		line-height: 1.5;
	}

	.nc-hero__features {
		gap: 16px 20px;
	}

	.nc-hero__stage {
		height: 260px;
		min-height: 260px;
	}

	.nc-home .nc-hero__arrow {
		width: 34px;
		height: 34px;
	}

	.nc-cats__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		margin-bottom: 18px;
	}

	.nc-cats__title {
		font-size: 20px;
	}

	.nc-cat-card__media {
		height: 130px;
		padding: 12px 16px;
	}

	.nc-cat-card__title {
		font-size: 14px;
	}

	.nc-why {
		margin-top: 36px;
	}

	.nc-why__panel {
		padding: 28px 20px;
		border-radius: 16px;
	}

	.nc-why__heading {
		font-size: 22px;
		margin-bottom: 22px;
	}

	.nc-why__grid {
		grid-template-columns: 1fr 1fr;
		gap: 20px 16px;
	}

	/* Legacy Elementor blocks below mockup */
	.nc-home-legacy {
		overflow-x: hidden;
	}

	body.home .nc-home-legacy .e-con,
	body.home .nc-home-legacy .elementor-section {
		max-width: 100%;
	}

	body.home .nc-home-legacy .e-con-inner,
	body.home .nc-home-legacy .elementor-container {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	body.home .nc-home-legacy img {
		max-width: 100%;
		height: auto;
	}

	body.home .nc-home-legacy .elementor-widget-heading .elementor-heading-title {
		font-size: clamp(22px, 5.5vw, 28px) !important;
		line-height: 1.25 !important;
	}
}

/* Small mobile */
@media (max-width: 560px) {
	.nc-hero__inner {
		padding: 20px 0 36px;
		gap: 20px;
	}

	.nc-hero__title {
		font-size: 27px;
	}

	.nc-hero__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.nc-hero__actions .nc-btn {
		width: 100%;
		justify-content: center;
	}

	.nc-hero-feature {
		flex: 1 1 100%;
	}

	.nc-hero__stage {
		height: 220px;
		min-height: 220px;
		border-radius: 14px;
		box-shadow: 0 12px 32px rgba(16, 35, 63, 0.1);
	}

	.nc-hero__slider {
		gap: 8px;
		padding: 4px 8px;
		bottom: 10px;
	}

	.nc-home .nc-hero__arrow {
		width: 32px;
		height: 32px;
	}

	.nc-cats {
		margin-top: 28px;
		padding-bottom: 12px;
	}

	.nc-cats__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.nc-cat-card__media {
		height: 140px;
	}

	.nc-cat-card__content {
		padding: 14px 16px 16px;
	}

	.nc-why {
		margin-top: 28px;
	}

	.nc-why__panel {
		padding: 24px 16px;
	}

	.nc-why__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	body.home .nc-home-legacy .elementor-column {
		width: 100% !important;
	}

	body.home .nc-home-legacy .elementor-col-50,
	body.home .nc-home-legacy .elementor-col-33,
	body.home .nc-home-legacy .elementor-col-25 {
		width: 100% !important;
	}
}

/* Very small screens */
@media (max-width: 400px) {
	.nc-hero__title {
		font-size: 24px;
	}

	.nc-hero__stage {
		height: 200px;
		min-height: 200px;
	}

	.nc-hero-feature__text {
		font-size: 13px;
	}
}

/* Wide screens — balance hero columns */
@media (min-width: 1200px) {
	.nc-hero__stage {
		height: 420px;
		min-height: 420px;
	}
}
