/* ----------------------------------------
   Nova Global — Shared styles across all pages
   ----------------------------------------
   Loaded on every page after nova-tokens.css.
   Contains reusable utility/component classes used
   across multiple page CSS files.
   ----------------------------------------
   @package nova-peptides
   ---------------------------------------- */

/* ========================================
   Layout
   ======================================== */

/* Content container — max-width + centered */
.nova-container {
	max-width: var(--nova-content-width, 1328px);
	margin: 0 auto;
	padding-left: 56px;
	padding-right: 56px;
}

/* Standard section spacing */
.nova-section {
	padding: 50px 56px;
}

.nova-section--white {
	background: var(--nova-bg-white);
}

/* ========================================
   Typography
   ======================================== */

/* Large section heading — 56px Stack Sans Text */
.nova-heading-xl {
	font-family: var(--nova-font-heading);
	font-size: 56px;
	font-weight: 400;
	line-height: 56px;
	letter-spacing: -1.68px;
	color: var(--nova-text-dark);
}

/* Medium heading — 28px Stack Sans Text Medium */
.nova-heading-md {
	font-family: var(--nova-font-heading);
	font-size: 28px;
	font-weight: 500;
	line-height: 32px;
	color: var(--nova-text-dark);
}

/* Small heading — 20px Stack Sans Text Medium */
.nova-heading-sm {
	font-family: var(--nova-font-heading);
	font-size: 20px;
	font-weight: 500;
	line-height: 24px;
	color: var(--nova-text-dark);
}

/* Body text — 20px Inter, muted */
.nova-body-lg {
	font-family: var(--nova-font-body);
	font-size: 20px;
	font-weight: 400;
	line-height: 32px;
	color: var(--nova-text-dark);
	opacity: 0.7;
}

/* Body text — 16px Inter, muted */
.nova-body {
	font-family: var(--nova-font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: var(--nova-text-dark);
	opacity: 0.7;
}

/* Body text — 14px Inter, muted */
.nova-body-sm {
	font-family: var(--nova-font-body);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: var(--nova-text-dark);
	opacity: 0.7;
}

/* ========================================
   Breadcrumb
   ======================================== */

.nova-breadcrumb {
	max-width: var(--nova-content-width, 1328px);
	margin: 0 auto;
	padding: 24px 56px 0;
}

.nova-breadcrumb__list {
	display: flex;
	align-items: center;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nova-breadcrumb__item {
	display: flex;
	align-items: center;
	gap: 0;
}

.nova-breadcrumb__link {
	font-family: var(--nova-font-body);
	font-size: 14px;
	line-height: 20px;
	color: var(--nova-text-dark);
	opacity: 0.7;
	text-decoration: none;
	transition: opacity 0.2s ease, color 0.2s ease;
}

.nova-breadcrumb__link:hover {
	opacity: 1;
	color: var(--nova-accent);
}

.nova-breadcrumb__sep {
	margin: 0 8px;
	font-size: 14px;
	color: var(--nova-text-dark);
	opacity: 0.4;
}

.nova-breadcrumb__current {
	font-family: var(--nova-font-body);
	font-size: 14px;
	line-height: 20px;
	color: var(--nova-text-dark);
	opacity: 0.5;
}

/* ========================================
   Badge / Pill
   ======================================== */

.nova-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 16px;
	border-radius: 88px;
	font-family: var(--nova-font-body);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	white-space: nowrap;
}

.nova-badge--light {
	background: var(--nova-border-light);
	color: var(--nova-text-dark);
}

.nova-badge--accent {
	background: var(--nova-accent);
	color: #fff;
}

.nova-badge--glass {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.nova-badge--dark {
	background: var(--nova-bg-primary);
	color: #fff;
}

/* ========================================
   Icon Box — 40×40 accent square
   ======================================== */

.nova-icon-box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--nova-accent);
	border-radius: 8px;
	flex-shrink: 0;
	color: #fff;
}

.nova-icon-box svg {
	width: 24px;
	height: 24px;
}

.nova-icon-box--glass {
	background: rgba(255, 255, 255, 0.1);
}

.nova-icon-box--white {
	background: #fff;
	color: var(--nova-bg-primary);
}

/* ========================================
   Icon Button — Circular
   ======================================== */

.nova-icon-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--nova-accent);
	color: #fff;
	border: none;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.2s ease;
}

.nova-icon-btn:hover {
	background: var(--nova-accent-hover);
}

.nova-icon-btn svg {
	width: 16px;
	height: 16px;
}

/* ========================================
   Form Elements
   ======================================== */

.nova-input {
	width: 100%;
	border: 1px solid var(--nova-border-light);
	border-radius: var(--nova-radius-input);
	padding: 16px 24px;
	font-family: var(--nova-font-body);
	font-size: 16px;
	line-height: 24px;
	color: var(--nova-text-dark);
	background: var(--nova-bg-white);
	outline: none;
	transition: border-color 0.2s ease;
}

.nova-input::placeholder {
	color: var(--nova-text-dark);
	opacity: 0.5;
}

.nova-input:focus {
	border-color: var(--nova-accent);
}

.nova-textarea {
	width: 100%;
	border: 1px solid var(--nova-border-light);
	border-radius: var(--nova-radius-input);
	padding: 16px 24px;
	font-family: var(--nova-font-body);
	font-size: 16px;
	line-height: 24px;
	color: var(--nova-text-dark);
	background: var(--nova-bg-white);
	outline: none;
	resize: vertical;
	min-height: 112px;
	transition: border-color 0.2s ease;
}

.nova-textarea::placeholder {
	color: var(--nova-text-dark);
	opacity: 0.5;
}

.nova-textarea:focus {
	border-color: var(--nova-accent);
}

/* ========================================
   Form Card Container
   ======================================== */

.nova-form-card {
	background: var(--nova-surface-light);
	border: 1px solid var(--nova-border-light);
	border-radius: var(--nova-radius-card);
	padding: 64px;
}

/* ========================================
   Buttons
   ======================================== */

.nova-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	border-radius: var(--nova-radius-button);
	font-family: var(--nova-font-body);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
	white-space: nowrap;
}

.nova-btn:hover {
	transform: translateY(-1px);
}

.nova-btn--primary {
	background: var(--nova-accent);
	color: #fff;
}

.nova-btn--primary:hover {
	background: var(--nova-accent-hover);
	color: #fff;
}

.nova-btn--white {
	background: #fff;
	color: var(--nova-accent);
}

.nova-btn--glass {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: #fff;
}

.nova-btn--lg {
	padding: 20px 32px;
	font-size: 20px;
}

.nova-btn--full {
	width: 100%;
}

/* ========================================
   Glass Morphism
   ======================================== */

.nova-glass {
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(var(--nova-glass-blur, 12px));
	-webkit-backdrop-filter: blur(var(--nova-glass-blur, 12px));
}

.nova-glass--light {
	background: rgba(255, 255, 255, 0.1);
}

.nova-glass--dark {
	background: rgba(0, 0, 0, 0.1);
}

/* ========================================
   Texture Overlay
   ======================================== */

.nova-texture-overlay {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.2;
	mix-blend-mode: luminosity;
	pointer-events: none;
	z-index: 0;
}

.nova-texture-overlay--dodge {
	mix-blend-mode: color-dodge;
}

/* ========================================
   Purple Gradient Wrapper
   ======================================== */

.nova-gradient-card {
	position: relative;
	background: linear-gradient(140deg, #431c71 0%, #1b003c 100%);
	border-radius: 32px;
	overflow: hidden;
}

.nova-gradient-card > * {
	position: relative;
	z-index: 1;
}

/* ========================================
   Divider
   ======================================== */

.nova-divider {
	border-bottom: 1px solid var(--nova-border-light);
}

.nova-divider--white {
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* ========================================
   Surface Card — Light bg with border
   ======================================== */

.nova-surface-card {
	background: var(--nova-surface-light);
	border: 1px solid var(--nova-border-light);
	border-radius: var(--nova-radius-card);
}

/* ========================================
   Responsive Utilities
   ======================================== */

@media (max-width: 1024px) {
	.nova-container {
		padding-left: 32px;
		padding-right: 32px;
	}

	.nova-section {
		padding: 64px 32px;
	}

	.nova-heading-xl {
		font-size: 40px;
		line-height: 44px;
		letter-spacing: -1.2px;
	}

	.nova-heading-md {
		font-size: 26px;
		line-height: 30px;
	}

	.nova-body-lg {
		font-size: 18px;
		line-height: 28px;
	}
}

@media (max-width: 768px) {
	.nova-container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.nova-section {
		padding: 48px 16px;
	}

	.nova-heading-xl {
		font-size: 32px;
		line-height: 36px;
		letter-spacing: -0.96px;
	}

	.nova-heading-md {
		font-size: 24px;
		line-height: 28px;
		letter-spacing: -0.4px;
	}

	.nova-heading-sm {
		font-size: 18px;
		line-height: 22px;
	}

	.nova-body-lg {
		font-size: 16px;
		line-height: 24px;
	}

	.nova-body {
		font-size: 15px;
		line-height: 22px;
	}

	.nova-body-sm {
		font-size: 13px;
		line-height: 18px;
	}

	.nova-breadcrumb {
		padding: 16px 16px 0;
	}

	.nova-form-card {
		padding: 32px 20px;
	}

	.nova-btn {
		min-height: 44px;
		padding: 12px 22px;
		font-size: 15px;
	}

	.nova-btn--lg {
		min-height: 48px;
		padding: 14px 24px;
		font-size: 16px;
	}

	.nova-input,
	.nova-textarea {
		/* iOS: keep ≥16px to prevent focus zoom */
		font-size: 16px;
		padding: 14px 18px;
	}
}

@media (max-width: 480px) {
	.nova-container {
		padding-left: 12px;
		padding-right: 12px;
	}

	.nova-section {
		padding: 32px 12px;
	}

	.nova-heading-xl {
		font-size: 28px;
		line-height: 32px;
		letter-spacing: -0.6px;
	}

	.nova-heading-md {
		font-size: 22px;
		line-height: 26px;
	}

	.nova-heading-sm {
		font-size: 17px;
		line-height: 22px;
	}

	.nova-body-lg,
	.nova-body {
		font-size: 14px;
		line-height: 21px;
	}

	.nova-body-sm {
		font-size: 13px;
		line-height: 18px;
	}

	.nova-breadcrumb {
		padding: 12px 12px 0;
	}

	.nova-breadcrumb__link,
	.nova-breadcrumb__current,
	.nova-breadcrumb__sep {
		font-size: 13px;
	}

	.nova-form-card {
		padding: 24px 16px;
	}
}

/* =====================================================================
   ACF WYSIWYG Content — bare <p>/<strong>/<a> from rich text editors
   inherit section styles so owner doesn't need to add CSS classes.
   Apply .nova-acf-content to any wrapper holding wysiwyg output.
   ===================================================================== */

.nova-acf-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.nova-acf-content p {
	font-family: var(--nova-font-body);
	font-size: inherit;
	font-weight: 400;
	line-height: 1.6;
	color: inherit;
	margin: 0;
}

.nova-acf-content strong {
	font-weight: 600;
}

.nova-acf-content a {
	color: var(--nova-accent);
	text-decoration: underline;
}

.nova-acf-content a:hover {
	color: var(--nova-accent-hover);
}

.nova-acf-content ul,
.nova-acf-content ol {
	margin: 0;
	padding-left: 24px;
}

.nova-acf-content li {
	margin-bottom: 4px;
}
