/*
 * NovaCraft main stylesheet — premium edition.
 * Design tokens (--nc-*) are injected by inc/dynamic-css.php from the Customizer.
 * Style variants are switched via body classes:
 *   header   → .nc-headerfx-solid | -glass | -floating
 *   buttons  → .nc-btnfx-solid | -gradient | -glow | -shine
 *   cards    → .nc-cardfx-lift | -glow | -tilt | -none
 *   headings → .nc-headfx-gradient
 *   theme    → .nc-dark
 *   reveals  → .nc-anim-on .nc-anim-{fade-up|zoom|slide-left|blur|flip} .nc-anim-speed-{slow|normal|fast} .nc-stagger
 */

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--nc-font-body, system-ui, sans-serif);
	font-size: var(--nc-font-size, 16px);
	line-height: 1.7;
	color: var(--nc-text, #334155);
	background: var(--nc-bg, #ffffff);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

::selection {
	background: var(--nc-primary, #4f46e5);
	color: #fff;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
	background: color-mix(in srgb, var(--nc-primary) 50%, transparent);
	border-radius: 99px;
}

:focus-visible {
	outline: 2px solid var(--nc-secondary, #0ea5e9);
	outline-offset: 2px;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--nc-font-heading, inherit);
	color: var(--nc-dark, #0f172a);
	line-height: 1.2;
	margin: 0 0 0.6em;
	font-weight: 800;
	letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.35rem; }

/* Gradient accent on bold heading words (Customizer toggle). */
.nc-headfx-gradient h1 strong,
.nc-headfx-gradient h2 strong,
.nc-headfx-gradient h3 strong,
.nc-gradient-text {
	background: var(--nc-gradient, linear-gradient(120deg, #4f46e5, #0ea5e9));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

p { margin: 0 0 1.2em; }

a {
	color: var(--nc-primary, #4f46e5);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover { color: var(--nc-secondary, #0ea5e9); }

.nc-container {
	max-width: var(--nc-container, 1200px);
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--nc-primary);
	color: #fff;
	padding: 10px 18px;
}

.skip-link:focus {
	left: 8px;
	top: 8px;
	clip: auto;
	width: auto;
	height: auto;
}

/* ---------- Buttons (4 selectable styles) ---------- */
.nc-btn,
.wp-block-button__link,
button.search-submit,
.comment-form input[type="submit"],
.woocommerce a.button,
.woocommerce button.button {
	position: relative;
	display: inline-block;
	padding: 13px 28px;
	border-radius: var(--nc-radius, 8px);
	font-weight: 600;
	font-family: var(--nc-font-heading);
	font-size: 0.95rem;
	line-height: 1.4;
	border: 2px solid transparent;
	cursor: pointer;
	overflow: hidden;
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, filter 0.2s ease;
}

.nc-btn-primary,
.wp-block-button__link:not(.has-background),
button.search-submit,
.comment-form input[type="submit"] {
	background: var(--nc-primary, #4f46e5);
	color: #fff;
}

/* gradient / glow / shine variants */
.nc-btnfx-gradient .nc-btn-primary,
.nc-btnfx-gradient .wp-block-button__link:not(.has-background):not(.is-style-outline .wp-block-button__link),
.nc-btnfx-glow .nc-btn-primary,
.nc-btnfx-glow .wp-block-button__link:not(.has-background):not(.is-style-outline .wp-block-button__link),
.nc-btnfx-shine .nc-btn-primary,
.nc-btnfx-shine .wp-block-button__link:not(.has-background):not(.is-style-outline .wp-block-button__link) {
	background: var(--nc-gradient);
}

.nc-btnfx-glow .nc-btn-primary,
.nc-btnfx-glow .wp-block-button__link:not(.has-background) {
	box-shadow: 0 0 22px -4px var(--nc-primary), 0 8px 24px -8px var(--nc-secondary);
}

.nc-btnfx-shine .nc-btn-primary::after,
.nc-btnfx-shine .wp-block-button__link:not(.has-background)::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
	transform: translateX(-110%);
	transition: transform 0.6s ease;
}

.nc-btnfx-shine .nc-btn-primary:hover::after,
.nc-btnfx-shine .wp-block-button__link:not(.has-background):hover::after {
	transform: translateX(110%);
}

.nc-btn-primary:hover,
.wp-block-button__link:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 14px 30px -10px var(--nc-primary);
	color: #fff;
	filter: brightness(1.05);
}

.is-style-outline .wp-block-button__link {
	background: transparent;
	border-color: currentColor;
}

/* ---------- Header (3 selectable styles) ---------- */
.site-header {
	position: relative;
	z-index: 100;
	background: var(--nc-bg, #fff);
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.nc-header-sticky .site-header {
	position: sticky;
	top: 0;
}

.site-header.is-scrolled {
	box-shadow: 0 6px 24px -12px rgba(15, 23, 42, 0.25);
}

/* Glass */
.nc-headerfx-glass .site-header {
	background: color-mix(in srgb, var(--nc-bg) 72%, transparent);
	-webkit-backdrop-filter: blur(16px) saturate(1.6);
	backdrop-filter: blur(16px) saturate(1.6);
}

/* Floating pill */
.nc-headerfx-floating .site-header {
	margin: 14px clamp(12px, 3vw, 40px) 0;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 999px;
	background: color-mix(in srgb, var(--nc-bg) 80%, transparent);
	-webkit-backdrop-filter: blur(16px) saturate(1.6);
	backdrop-filter: blur(16px) saturate(1.6);
	box-shadow: 0 12px 40px -18px rgba(15, 23, 42, 0.35);
}

.nc-headerfx-floating.nc-header-sticky .site-header { top: 10px; }

/* Transparent (per-page) */
.nc-header-transparent .site-header {
	position: absolute;
	left: 0;
	right: 0;
	background: transparent;
	border-bottom-color: rgba(255, 255, 255, 0.12);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.nc-header-transparent.nc-headerfx-floating .site-header {
	position: absolute;
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.15);
}

.nc-header-transparent.nc-header-sticky .site-header.is-scrolled {
	position: fixed;
	background: color-mix(in srgb, var(--nc-dark) 85%, transparent);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.nc-header-transparent .site-header a,
.nc-header-transparent .site-header .site-title {
	color: #fff;
}

.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	min-height: var(--nc-header-height, 76px);
}

.site-branding .site-title {
	font-family: var(--nc-font-heading);
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--nc-dark);
}

.site-description {
	margin: 0;
	font-size: 0.8rem;
	opacity: 0.7;
}

.custom-logo {
	max-height: calc(var(--nc-header-height, 76px) - 28px);
	width: auto;
}

/* Navigation */
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 4px;
}

.main-navigation li { position: relative; }

.main-navigation a {
	position: relative;
	display: block;
	padding: 10px 14px;
	font-weight: 500;
	color: var(--nc-dark);
	border-radius: var(--nc-radius);
}

.main-navigation > div > ul > li > a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: var(--nc-gradient);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
	transform: scaleX(1);
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
	color: var(--nc-primary);
}

.nc-header-transparent .main-navigation a:hover,
.nc-header-transparent .main-navigation .current-menu-item > a {
	color: #fff;
}

/* Dropdowns */
.main-navigation ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	flex-direction: column;
	background: var(--nc-bg, #fff);
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: calc(var(--nc-radius) + 4px);
	box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.25);
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.2s ease;
}

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-navigation ul ul a { color: var(--nc-dark); }
.main-navigation ul ul a::after { display: none; }

.header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

/* Mobile toggle */
.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 8px;
	cursor: pointer;
}

.menu-toggle-bar {
	width: 24px;
	height: 2px;
	background: currentColor;
	color: var(--nc-dark);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nc-header-transparent .menu-toggle-bar { color: #fff; }

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Layout ---------- */
.site-main { min-height: 50vh; }

.nc-content-area {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	padding-top: 56px;
	padding-bottom: 72px;
}

.nc-layout-right .nc-content-area { grid-template-columns: minmax(0, 1fr) 320px; }
.nc-layout-left .nc-content-area { grid-template-columns: 320px minmax(0, 1fr); }
.nc-layout-left .nc-primary-column { order: 2; }
.nc-layout-left .widget-area { order: 1; }

.page-header { margin-bottom: 40px; }
.page-title { font-size: clamp(1.9rem, 3.5vw, 2.4rem); }

/* ---------- Hero sections ---------- */
.nc-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

/* Dot grid overlay */
.nc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
	background-size: 28px 28px;
	mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
	z-index: -1;
	pointer-events: none;
}

/* Ambient glow blobs */
.nc-hero-dark::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(600px circle at 15% 20%, color-mix(in srgb, var(--nc-primary) 35%, transparent), transparent 60%),
		radial-gradient(500px circle at 85% 75%, color-mix(in srgb, var(--nc-secondary) 30%, transparent), transparent 60%);
	z-index: -1;
	pointer-events: none;
}

/* Parallax orbs injected by JS when enabled */
.nc-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.5;
	z-index: -1;
	pointer-events: none;
	will-change: transform;
}

.nc-orb-1 { width: 340px; height: 340px; top: -80px; left: -60px; background: var(--nc-primary); }
.nc-orb-2 { width: 260px; height: 260px; bottom: -60px; right: 5%; background: var(--nc-secondary); animation-delay: -3s; }
.nc-orb-3 { width: 180px; height: 180px; top: 30%; right: 25%; background: #db2777; opacity: 0.25; animation-delay: -6s; }

@media (prefers-reduced-motion: no-preference) {
	.nc-parallax-on .nc-orb { animation: nc-float 9s ease-in-out infinite alternate; }
}

@keyframes nc-float {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(30px, -40px, 0) scale(1.15); }
}

/* Badge pill */
.nc-badge-pill {
	display: table;
	margin: 0 0 22px;
	padding: 7px 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #e2e8f0 !important;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.has-text-align-center.nc-badge-pill { margin-left: auto; margin-right: auto; }

/* Glass visual card (hero-split) */
.nc-glass-visual {
	position: relative;
	padding: 70px 40px !important;
	border-radius: calc(var(--nc-radius) + 14px);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.16);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@media (prefers-reduced-motion: no-preference) {
	.nc-parallax-on .nc-glass-visual { animation: nc-hover-bob 6s ease-in-out infinite alternate; }
}

@keyframes nc-hover-bob {
	from { transform: translateY(0) rotate(-0.5deg); }
	to { transform: translateY(-16px) rotate(0.5deg); }
}

/* ---------- Marquee ---------- */
.nc-marquee-section { border-block: 1px solid rgba(15, 23, 42, 0.07); }

.nc-marquee-label {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	opacity: 0.55;
	margin-bottom: 14px;
}

.nc-marquee {
	overflow: hidden;
	white-space: nowrap;
	margin: 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.nc-marquee-track {
	display: inline-flex;
	gap: 64px;
	padding-right: 64px;
	font-family: var(--nc-font-heading);
	font-weight: 800;
	font-size: 1.3rem;
	letter-spacing: 0.08em;
	color: color-mix(in srgb, var(--nc-dark) 45%, transparent);
}

@media (prefers-reduced-motion: no-preference) {
	.nc-marquee-track { animation: nc-marquee 28s linear infinite; }
	.nc-marquee:hover .nc-marquee-track { animation-play-state: paused; }
}

@keyframes nc-marquee {
	to { transform: translateX(-50%); }
}

/* ---------- Process steps ---------- */
.nc-process-row { position: relative; }

.nc-process-step { text-align: center; padding: 0 18px; }

.nc-step-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 74px;
	height: 74px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--nc-gradient);
	color: #fff;
	font-family: var(--nc-font-heading);
	font-weight: 800;
	font-size: 1.3rem;
	box-shadow: 0 14px 30px -10px var(--nc-primary);
	position: relative;
	z-index: 1;
}

@media (min-width: 782px) {
	.nc-process-row::before {
		content: "";
		position: absolute;
		top: 37px;
		left: 18%;
		right: 18%;
		height: 2px;
		background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--nc-primary) 40%, transparent) 0 10px, transparent 10px 20px);
	}
}

/* ---------- Big statement ---------- */
.nc-statement h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }

/* ---------- Blog cards ---------- */
.nc-posts-grid {
	display: grid;
	gap: 32px;
}

.nc-layout-none .nc-posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.nc-post-card {
	background: var(--nc-bg, #fff);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: calc(var(--nc-radius) + 4px);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nc-post-card .post-thumbnail { display: block; overflow: hidden; }
.nc-post-card .post-thumbnail img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.nc-post-card:hover .post-thumbnail img { transform: scale(1.06); }

.nc-post-card-body { padding: 24px 28px 28px; }

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 10px;
	color: var(--nc-secondary);
}

.entry-meta a { color: inherit; }

.nc-post-card .entry-title {
	font-size: 1.3rem;
	margin-bottom: 8px;
}

.nc-post-card .entry-title a { color: var(--nc-dark); }
.nc-post-card .entry-title a:hover { color: var(--nc-primary); }

.nc-read-more { font-weight: 600; }

/* ---------- Card hover variants ---------- */
.nc-cardfx-lift .nc-post-card:hover,
.nc-cardfx-lift .nc-card-pattern:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 48px -18px rgba(15, 23, 42, 0.25);
}

.nc-cardfx-glow .nc-post-card,
.nc-cardfx-glow .nc-card-pattern {
	position: relative;
	background-clip: padding-box;
}

.nc-cardfx-glow .nc-post-card:hover,
.nc-cardfx-glow .nc-card-pattern:hover {
	border-color: transparent;
	box-shadow:
		0 0 0 2px var(--nc-primary),
		0 0 34px -6px var(--nc-primary),
		0 22px 44px -18px var(--nc-secondary);
}

.nc-cardfx-tilt .nc-post-card,
.nc-cardfx-tilt .nc-card-pattern {
	transform-style: preserve-3d;
	will-change: transform;
}

/* ---------- Single post ---------- */
.nc-single .entry-header { margin-bottom: 28px; }
.nc-single .entry-title { font-size: clamp(1.9rem, 4vw, 2.6rem); }

.nc-single .post-thumbnail img {
	border-radius: calc(var(--nc-radius) + 4px);
	margin-bottom: 28px;
}

.entry-content > * { max-width: 100%; }

.entry-content blockquote {
	border-left: 4px solid;
	border-image: var(--nc-gradient) 1;
	margin: 1.5em 0;
	padding: 0.5em 0 0.5em 1.5em;
	font-style: italic;
	color: var(--nc-dark);
	font-size: 1.1em;
}

.nc-tags a {
	display: inline-block;
	background: color-mix(in srgb, var(--nc-primary) 10%, transparent);
	color: var(--nc-primary);
	padding: 4px 14px;
	border-radius: 999px;
	font-size: 0.82rem;
	margin: 0 6px 6px 0;
	transition: all 0.2s ease;
}

.nc-tags a:hover {
	background: var(--nc-primary);
	color: #fff;
}

.post-navigation {
	border-top: 1px solid rgba(15, 23, 42, 0.08);
	margin-top: 48px;
	padding-top: 24px;
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 24px;
}

.nav-subtitle {
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
	color: var(--nc-secondary);
}

.nav-title { font-weight: 600; color: var(--nc-dark); }

/* ---------- Pagination ---------- */
.pagination,
.page-numbers {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 48px;
	flex-wrap: wrap;
}

.page-numbers .page-numbers {
	margin: 0;
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: var(--nc-radius);
	border: 1px solid rgba(15, 23, 42, 0.12);
	color: var(--nc-dark);
	transition: all 0.2s ease;
}

.page-numbers .page-numbers:hover { border-color: var(--nc-primary); }

.page-numbers .page-numbers.current {
	background: var(--nc-gradient);
	border-color: transparent;
	color: #fff;
}

/* ---------- Widgets / sidebar ---------- */
.widget { margin-bottom: 40px; }

.widget-title {
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 18px;
	padding-bottom: 10px;
	border-bottom: 2px solid;
	border-image: var(--nc-gradient) 1;
	display: inline-block;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget ul li { padding: 6px 0; }

.nc-posts-widget-item {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 10px 0 !important;
}

.nc-posts-widget-thumb img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: var(--nc-radius);
	display: block;
}

.nc-posts-widget-text a {
	font-weight: 600;
	color: var(--nc-dark);
	display: block;
	line-height: 1.4;
}

.nc-posts-widget-date {
	font-size: 0.8rem;
	color: var(--nc-secondary);
}

/* ---------- Search form ---------- */
.search-form {
	display: flex;
	gap: 10px;
	max-width: 480px;
}

.search-field {
	flex: 1;
	padding: 11px 16px;
	border: 1px solid rgba(15, 23, 42, 0.15);
	border-radius: var(--nc-radius);
	font: inherit;
	background: var(--nc-bg);
	color: var(--nc-text);
}

.search-field:focus {
	outline: 2px solid var(--nc-primary);
	outline-offset: 1px;
	border-color: transparent;
}

/* ---------- Comments ---------- */
.comments-area { margin-top: 56px; }

.comment-list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.comment-body {
	background: color-mix(in srgb, var(--nc-dark) 4%, var(--nc-bg));
	border-radius: calc(var(--nc-radius) + 4px);
	padding: 20px 24px;
	margin-bottom: 16px;
}

.comment-list .children {
	list-style: none;
	margin: 0 0 0 40px;
	padding: 0;
}

.comment-author img {
	border-radius: 50%;
	margin-right: 10px;
	vertical-align: middle;
}

.comment-metadata { font-size: 0.82rem; }

.comment-form label { display: block; font-weight: 600; margin-bottom: 4px; }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid rgba(15, 23, 42, 0.15);
	border-radius: var(--nc-radius);
	font: inherit;
	margin-bottom: 16px;
	background: var(--nc-bg);
	color: var(--nc-text);
}

/* ---------- Footer ---------- */
.site-footer {
	position: relative;
	background: var(--nc-dark, #0f172a);
	color: #cbd5e1;
	overflow: hidden;
}

.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(500px circle at 90% 10%, color-mix(in srgb, var(--nc-primary) 18%, transparent), transparent 60%),
		radial-gradient(400px circle at 5% 90%, color-mix(in srgb, var(--nc-secondary) 12%, transparent), transparent 60%);
	pointer-events: none;
}

.site-footer > * { position: relative; }

.site-footer a { color: #e2e8f0; }
.site-footer a:hover { color: #fff; }

.footer-widgets { padding: 64px 0 32px; }

.footer-widgets-inner {
	display: grid;
	gap: 40px;
}

.footer-columns-2 .footer-widgets-inner { grid-template-columns: repeat(2, 1fr); }
.footer-columns-3 .footer-widgets-inner { grid-template-columns: repeat(3, 1fr); }
.footer-columns-4 .footer-widgets-inner { grid-template-columns: repeat(4, 1fr); }

.site-footer .widget-title { color: #fff; }

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 22px 0;
	font-size: 0.9rem;
}

.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.footer-copyright p { margin: 0; }

.footer-menu {
	list-style: none;
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
}

.nc-social-links {
	display: flex;
	gap: 10px;
}

.nc-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #e2e8f0;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.widget-area .nc-social-link,
.entry-content .nc-social-link {
	background: rgba(15, 23, 42, 0.06);
	color: var(--nc-dark);
}

.nc-social-link:hover {
	background: var(--nc-gradient);
	color: #fff;
	transform: translateY(-3px) rotate(6deg);
	box-shadow: 0 10px 20px -8px var(--nc-primary);
}

/* ---------- Back to top ---------- */
.nc-back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: var(--nc-gradient);
	color: #fff;
	font-size: 1.1rem;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.25s ease;
	z-index: 90;
	box-shadow: 0 10px 24px -8px var(--nc-primary);
}

.nc-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nc-back-to-top:hover { transform: translateY(-3px); }

/* ---------- Preloader (3 selectable styles) ---------- */
.nc-preloader {
	position: fixed;
	inset: 0;
	background: var(--nc-bg, #fff);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.45s ease, visibility 0.45s ease;
}

.nc-preloader.is-hidden {
	opacity: 0;
	visibility: hidden;
}

.nc-preloader-dot {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 3px solid color-mix(in srgb, var(--nc-primary) 20%, transparent);
	border-top-color: var(--nc-primary);
	animation: nc-spin 0.8s linear infinite;
}

@keyframes nc-spin {
	to { transform: rotate(360deg); }
}

.nc-preloader-initial {
	position: relative;
	z-index: 2;
	font-family: var(--nc-font-heading);
	font-size: 3.2rem;
	font-weight: 800;
	background: var(--nc-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: nc-pulse 1.1s ease-in-out infinite alternate;
}

@keyframes nc-pulse {
	from { transform: scale(0.92); opacity: 0.6; }
	to { transform: scale(1.08); opacity: 1; }
}

.nc-preloader-curtain { background: transparent; }

.nc-preloader-panel {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 51%;
	background: var(--nc-dark);
	transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}

.nc-preloader-panel-left { left: 0; }
.nc-preloader-panel-right { right: 0; }

.nc-preloader-curtain.is-hidden .nc-preloader-panel-left { transform: translateX(-101%); }
.nc-preloader-curtain.is-hidden .nc-preloader-panel-right { transform: translateX(101%); }
.nc-preloader-curtain .nc-preloader-initial { color: transparent; }

/* ---------- Cursor glow ---------- */
.nc-cursor-glow-dot {
	position: fixed;
	top: 0;
	left: 0;
	width: 480px;
	height: 480px;
	margin: -240px 0 0 -240px;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--nc-primary) 14%, transparent) 0%, transparent 65%);
	pointer-events: none;
	z-index: 80;
	will-change: transform;
}

/* ---------- Pattern helpers ---------- */
.nc-card-pattern {
	background: var(--nc-bg, #fff);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: calc(var(--nc-radius) + 6px);
	padding: 34px 30px !important;
	box-shadow: 0 12px 32px -20px rgba(15, 23, 42, 0.25);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nc-card-featured {
	border: 2px solid transparent;
	background:
		linear-gradient(var(--nc-bg), var(--nc-bg)) padding-box,
		var(--nc-gradient) border-box;
	box-shadow: 0 28px 56px -22px color-mix(in srgb, var(--nc-primary) 55%, transparent);
}

.nc-quote-pattern {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: calc(var(--nc-radius) + 6px);
	padding: 30px 28px !important;
	transition: transform 0.25s ease, border-color 0.25s ease;
}

.nc-quote-pattern:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 255, 255, 0.3);
}

.nc-avatar {
	width: 88px;
	height: 88px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: var(--nc-gradient);
	color: #fff;
	font-weight: 800;
	font-size: 1.4rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--nc-font-heading);
	box-shadow: 0 14px 28px -10px var(--nc-primary);
}

.nc-portfolio-tile {
	position: relative;
	border-radius: calc(var(--nc-radius) + 6px);
	overflow: hidden;
	margin-bottom: 24px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nc-portfolio-tile::after {
	content: "↗";
	position: absolute;
	top: 16px;
	right: 18px;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
	opacity: 0;
	transform: translateY(6px);
	transition: all 0.25s ease;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.nc-portfolio-tile:hover {
	transform: scale(1.025);
	box-shadow: 0 28px 56px -22px rgba(15, 23, 42, 0.45);
}

.nc-portfolio-tile:hover::after {
	opacity: 1;
	transform: translateY(0);
}

.nc-faq-item {
	max-width: 760px;
	margin: 0 auto 14px;
	background: color-mix(in srgb, var(--nc-dark) 3%, var(--nc-bg));
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: calc(var(--nc-radius) + 2px);
	padding: 18px 24px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nc-faq-item[open] {
	border-color: var(--nc-primary);
	box-shadow: 0 12px 28px -18px var(--nc-primary);
}

.nc-faq-item summary {
	font-weight: 600;
	color: var(--nc-dark);
	cursor: pointer;
}

.nc-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	margin-bottom: 1.5em;
}

.nc-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: var(--nc-radius);
}

/* ---------- Full-width pages ---------- */
.nc-page-full .nc-content-full > .alignfull { margin-left: 0; margin-right: 0; }

.nc-page .entry-content,
.nc-page .entry-header {
	padding-top: 40px;
}

.nc-page .entry-content { padding-bottom: 64px; }

/* ---------- 404 ---------- */
.error-404 {
	text-align: center;
	padding: 96px 0;
}

.nc-404-code {
	font-family: var(--nc-font-heading);
	font-size: clamp(5rem, 16vw, 9rem);
	font-weight: 800;
	line-height: 1;
	margin: 0;
	background: var(--nc-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: nc-pulse 2.4s ease-in-out infinite alternate;
}

.error-404 .search-form { margin: 24px auto 32px; }

/* ---------- WooCommerce ---------- */
.woocommerce ul.products li.product {
	background: var(--nc-bg, #fff);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: calc(var(--nc-radius) + 4px);
	overflow: hidden;
	padding-bottom: 16px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-5px);
	box-shadow: 0 22px 44px -16px rgba(15, 23, 42, 0.22);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--nc-font-heading);
	padding: 12px 16px 0;
}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button {
	margin-left: 16px;
}

.woocommerce .site-main { padding: 56px 0 72px; }

/* ---------- Scroll reveal (5 selectable styles) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.nc-anim-on .nc-reveal {
		opacity: 0;
		transition:
			opacity var(--nc-anim-duration, 0.7s) cubic-bezier(0.22, 1, 0.36, 1),
			transform var(--nc-anim-duration, 0.7s) cubic-bezier(0.22, 1, 0.36, 1),
			filter var(--nc-anim-duration, 0.7s) ease;
		transition-delay: var(--nc-reveal-delay, 0s);
	}

	.nc-anim-fade-up .nc-reveal { transform: translateY(36px); }
	.nc-anim-zoom .nc-reveal { transform: scale(0.88); }
	.nc-anim-slide-left .nc-reveal { transform: translateX(-48px); }
	.nc-anim-blur .nc-reveal { filter: blur(14px); transform: translateY(12px); }
	.nc-anim-flip .nc-reveal { transform: perspective(900px) rotateX(14deg) translateY(30px); transform-origin: center bottom; }

	.nc-anim-on .nc-reveal.is-revealed {
		opacity: 1;
		transform: none;
		filter: none;
	}
}

/* ---------- Dark mode ---------- */
.nc-dark {
	--nc-bg: #0b1120;
	--nc-text: #cbd5e1;
	color-scheme: dark;
}

.nc-dark h1, .nc-dark h2, .nc-dark h3, .nc-dark h4, .nc-dark h5, .nc-dark h6 { color: #f1f5f9; }
.nc-dark .site-title, .nc-dark .main-navigation a, .nc-dark .menu-toggle-bar { color: #f1f5f9; }
.nc-dark .site-header { border-bottom-color: rgba(255, 255, 255, 0.08); }
.nc-dark .nc-post-card,
.nc-dark .nc-card-pattern,
.nc-dark .nc-faq-item,
.nc-dark .woocommerce ul.products li.product {
	background: #101a30;
	border-color: rgba(255, 255, 255, 0.08);
}
.nc-dark .nc-post-card .entry-title a,
.nc-dark .nc-posts-widget-text a,
.nc-dark .nav-title,
.nc-dark .nc-faq-item summary { color: #f1f5f9; }
.nc-dark .comment-body { background: #101a30; }
.nc-dark .nc-marquee-section { border-color: rgba(255, 255, 255, 0.08); }
.nc-dark .nc-marquee-track { color: rgba(241, 245, 249, 0.4); }
.nc-dark .main-navigation ul ul { background: #101a30; border-color: rgba(255, 255, 255, 0.08); }
.nc-dark .main-navigation ul ul a { color: #f1f5f9; }
.nc-dark .page-numbers .page-numbers { color: #f1f5f9; border-color: rgba(255, 255, 255, 0.15); }
.nc-dark .search-field,
.nc-dark .comment-form input[type="text"],
.nc-dark .comment-form input[type="email"],
.nc-dark .comment-form input[type="url"],
.nc-dark .comment-form textarea {
	background: #101a30;
	border-color: rgba(255, 255, 255, 0.12);
	color: #f1f5f9;
}
.nc-dark .nc-stats.has-background { background-color: #101a30 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.nc-layout-right .nc-content-area,
	.nc-layout-left .nc-content-area {
		grid-template-columns: 1fr;
	}

	.nc-layout-left .nc-primary-column { order: 1; }
	.nc-layout-left .widget-area { order: 2; }

	.footer-columns-4 .footer-widgets-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 782px) {
	.menu-toggle { display: flex; }

	.header-cta { display: none; }

	.nc-headerfx-floating .site-header { margin: 8px 10px 0; border-radius: 20px; }

	.main-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--nc-bg, #fff);
		border-bottom: 1px solid rgba(15, 23, 42, 0.08);
		box-shadow: 0 24px 40px -20px rgba(15, 23, 42, 0.3);
		display: none;
	}

	.nc-headerfx-floating .main-navigation { border-radius: 0 0 20px 20px; overflow: hidden; }
	.nc-header-transparent .main-navigation,
	.nc-dark .main-navigation { background: var(--nc-dark); }

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

	.main-navigation ul {
		flex-direction: column;
		padding: 12px 24px 20px;
	}

	.main-navigation a::after { display: none; }

	.main-navigation ul ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		background: transparent;
		border: 0;
		padding-left: 16px;
	}

	.nc-layout-none .nc-posts-grid { grid-template-columns: 1fr; }

	.footer-columns-2 .footer-widgets-inner,
	.footer-columns-3 .footer-widgets-inner,
	.footer-columns-4 .footer-widgets-inner {
		grid-template-columns: 1fr;
	}

	.footer-bottom-inner {
		flex-direction: column;
		text-align: center;
	}
}
