/*
Theme Name: Nivaan
Theme URI: https://www.nivaanenterprise.com
Author: Nivaan Enterprise
Description: Block theme (child of Twenty Twenty-Five) for Nivaan Enterprise: Home, About Us and Contact Us. Everything for a Better Everyday.
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nivaan
*/

/*
 * Only what theme.json cannot express. Palette, fonts, sizes, button and link
 * styles live in theme.json. Class prefix: nv-
 */

:root {
	--nv-purple: #65005F;
	--nv-deep: #3D063F;
	--nv-green: #4C9A17;
	--nv-green-dark: #24630E;
	--nv-green-light: #8FD24F;
	--nv-soft: #F7F6F4;
	--nv-warm: #FBFAF7;
	--nv-text: #171717;
	--nv-muted: #666666;
	--nv-border: #E8E6E3;
	--nv-error: #C0392B;
	--nv-pad-x: clamp(20px, 4vw, 48px);
	--nv-section: clamp(64px, 8vw, 112px);
	--nv-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
	--nv-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
	--nv-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
	--nv-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	--nv-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20'/%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E");
	--nv-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E");
	--nv-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--nv-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E");
}

body { -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
.wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }
.wp-site-blocks { display: flex; flex-direction: column; min-height: 100vh; }
.wp-site-blocks > main, .wp-site-blocks > .nv-main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; }

/* Focus ring */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
.wp-element-button:focus-visible {
	outline: 2px solid var(--nv-purple);
	outline-offset: 3px;
}
.has-deep-purple-background-color a:focus-visible,
.nv-footer a:focus-visible { outline-color: var(--nv-green-light); }

.nv-skip-link { position: absolute; left: -9999px; }

/* ---------- Sections ---------- */
.nv-section {
	position: relative;
	overflow: hidden;
	padding-top: var(--nv-section);
	padding-bottom: var(--nv-section);
}
.nv-section--hero { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
.nv-section--hero-about { padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(64px, 9vw, 128px); }
.nv-section--hero-contact { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.nv-section--dark { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.nv-section--flush-top { padding-top: 0; }
.nv-section--flush-bottom { padding-bottom: 0; }
.nv-section--overflow { overflow: visible; }

.nv-inner {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: var(--nv-pad-x);
}

/* Default rhythm inside sections (low specificity so classes win) */
/* (must out-rank WP's `:root :where(.is-layout-flow) > *` margin reset) */
.nv-section :is(h1, h2, h3, h4),
.nv-footer :is(h1, h2, h3, h4) { margin-block: 0 20px; text-wrap: pretty; }
.nv-section p,
.nv-footer p { margin-block: 0 16px; }
.nv-section .nv-eyebrow { margin-bottom: 16px; }
.nv-section .nv-eyebrow--hero { margin-bottom: 20px; }
.nv-section .nv-numeral { margin-bottom: 16px; }
.nv-section .nv-statement { margin-bottom: 28px; }
.nv-section :is(h1, h2, h3, h4, p):last-child,
.nv-footer :is(h1, h2, h3, h4, p):last-child { margin-bottom: 0; }
.nv-cta-panel > * { margin: 0 !important; }

/* Decorative glows (hero sections) */
.nv-glow::before,
.nv-glow::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}
.nv-glow--home::before { width: 640px; height: 640px; top: -200px; right: -120px; background: radial-gradient(circle, rgba(101, 0, 95, .10), transparent 65%); }
.nv-glow--home::after { width: 480px; height: 480px; bottom: -180px; left: -100px; background: radial-gradient(circle, rgba(76, 154, 23, .12), transparent 65%); }
.nv-glow--about::before { width: 600px; height: 600px; top: -220px; right: -100px; background: radial-gradient(circle, rgba(101, 0, 95, .10), transparent 65%); }
.nv-glow--contact::before { width: 560px; height: 560px; top: -200px; right: -80px; background: radial-gradient(circle, rgba(76, 154, 23, .12), transparent 65%); }

/* Dark bands with purple/green shapes */
.nv-blob::before,
.nv-blob::after { content: ""; position: absolute; pointer-events: none; z-index: 0; }
.nv-blob--statement::before { width: 520px; height: 520px; border-radius: 50%; background: var(--nv-green); opacity: .55; top: -260px; right: -140px; filter: blur(2px); }
.nv-blob--statement::after { width: 360px; height: 360px; border-radius: 50% 50% 50% 0; background: var(--nv-purple); bottom: -160px; left: 8%; transform: rotate(-20deg); }
.nv-blob--vision::before { width: 560px; height: 560px; border-radius: 50%; background: var(--nv-green); opacity: .55; bottom: -300px; right: -160px; }
.nv-blob--vision::after { width: 300px; height: 300px; border-radius: 50% 50% 0 50%; background: var(--nv-purple); top: -120px; left: 10%; transform: rotate(15deg); }

/* ---------- Typography helpers ---------- */
.nv-eyebrow {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	line-height: 1.4;
	color: var(--nv-green-dark);
}
.nv-eyebrow--hero { margin-bottom: 20px; }
.nv-eyebrow--purple { color: var(--nv-purple); }
.nv-eyebrow--light { color: var(--nv-green-light); }
.nv-lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; text-wrap: pretty; }
.nv-p18 { font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.nv-p16 { font-size: 16px; line-height: 1.6; }
.nv-p15 { font-size: 15px; line-height: 1.6; }
.nv-note { font-size: 13px; font-style: italic; color: #999; }
.nv-measure-520 { max-width: 520px; }
.nv-measure-560 { max-width: 560px; }
.nv-measure-600 { max-width: 600px; }
.nv-measure-640 { max-width: 640px; }
.nv-measure-820 { max-width: 820px; }
.nv-measure-900 { max-width: 900px; }
.nv-mb-0 { margin-bottom: 0 !important; }
.nv-mb-12 { margin-bottom: 12px !important; }
.nv-mb-20 { margin-bottom: 20px !important; }
.nv-mb-24 { margin-bottom: 24px !important; }
.nv-mb-28 { margin-bottom: 28px !important; }
.nv-mb-32 { margin-bottom: 32px !important; }
.nv-mb-36 { margin-bottom: 36px !important; }
.nv-mb-40 { margin-bottom: 40px !important; }
.nv-mb-48 { margin-bottom: 48px !important; }
.nv-head { max-width: 640px; margin-bottom: 48px; }
.nv-h1-about { font-size: clamp(42px, 6vw, 80px); }
.nv-h2-cta { font-size: clamp(32px, 4vw, 52px); }
.nv-h2-sm { font-size: clamp(30px, 3vw, 40px); line-height: 1.1; }
.nv-h2-card { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.nv-h3-28 { font-size: 28px; }
.nv-statement { font-family: var(--wp--preset--font-family--dm-serif-display); font-size: clamp(40px, 6vw, 84px); line-height: 1; text-wrap: pretty; }
.nv-statement--vision { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.08; }
.nv-on-dark { color: rgba(255, 255, 255, .82); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; }

/* ---------- Layout grids (fluid, auto-fit) ---------- */
.nv-cols-2,
.nv-hero-grid,
.nv-cards-4,
.nv-cards-3,
.nv-steps,
.nv-value-row,
.nv-biz-row,
.nv-footer-grid {
	display: grid;
	gap: 48px;
}
.nv-hero-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; }
.nv-cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.nv-cols-2--story { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 56px; }
.nv-cols-2--contact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 56px; align-items: start; }
.nv-cols-2--center { align-items: center; }
.nv-cols-2--start { align-items: start; }
.nv-cards-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.nv-cards-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.nv-steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.nv-grid-child { min-width: 0; }

/* Hero (Home): copy stagger + 2x2 visual */
@keyframes nv-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.nv-hero-copy > * { animation: nv-rise .7s ease both; }
.nv-hero-copy > :nth-child(2) { animation-delay: .08s; }
.nv-hero-copy > :nth-child(3) { animation-delay: .16s; }
.nv-hero-copy > :nth-child(4) { animation-delay: .24s; }
.nv-hero-visual { animation: nv-rise .7s ease .32s both; }
.nv-hero-copy h1 .nv-accent { color: var(--nv-purple); }
.nv-hero-visual {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	grid-template-rows: 200px 200px;
	gap: 16px;
}
.nv-hero-visual > .nv-hero-tall { grid-row: 1 / 3; border-radius: 28px; }
.nv-hero-visual > .nv-hero-small { border-radius: 24px; }
.nv-hero-tile {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 24px;
	border-radius: 24px;
	background: var(--nv-purple);
	color: #fff;
}
.nv-hero-tile::before {
	content: "";
	position: absolute;
	width: 160px;
	height: 160px;
	top: -70px;
	right: -60px;
	border-radius: 50%;
	background: var(--nv-green);
	opacity: .9;
}
.nv-hero-tile p { position: relative; margin: 0; font-family: var(--wp--preset--font-family--dm-serif-display); font-size: 22px; line-height: 1.2; color: #fff; }

/* Image wrappers: cover fill + hover zoom */
.nv-zoom { position: relative; overflow: hidden; isolation: isolate; }
.nv-zoom figure,
.nv-zoom .wp-block-image { margin: 0; height: 100%; }
.nv-zoom img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}
.nv-zoom:hover img,
.nv-card:hover .nv-zoom img { transform: scale(1.04); }
.nv-radius-24 { border-radius: 24px; }
.nv-radius-28 { border-radius: 28px; }
.nv-radius-22 { border-radius: 22px; }
.nv-story-img { height: clamp(320px, 36vw, 520px); border-radius: 28px; }

/* Rooted band (Cover) */
.nv-band.wp-block-cover,
.nv-band {
	border-radius: 36px;
	overflow: hidden;
	min-height: clamp(360px, 44vw, 560px) !important;
	padding: 0;
}
.nv-band .wp-block-cover__inner-container { width: auto; }
.nv-band-card {
	margin: clamp(20px, 3vw, 40px);
	max-width: 460px;
	padding: clamp(24px, 3vw, 40px);
	border-radius: 24px;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: var(--nv-text);
}
.nv-band-card p:not(.nv-eyebrow) { color: var(--nv-muted); font-size: 16px; }
.nv-band img { transition: transform .6s ease; }
.nv-band:hover img { transform: scale(1.03); }

/* Cards */
.nv-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--nv-border);
	border-radius: 22px;
	background: #fff;
	transition: transform .3s ease, opacity .7s ease;
}
.nv-card:hover { transform: translateY(-4px); }
.nv-card .nv-zoom { height: 220px; border-radius: 0; }
.nv-card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 24px 28px; }
.nv-card-body > * { margin: 0 !important; }
.nv-card-body p { font-size: 15px; line-height: 1.6; flex: 1; }
.nv-card-body .nv-more { margin-top: 6px !important; flex: none; font-size: 14px; font-weight: 700; }
.nv-more a { color: var(--nv-green-dark); }
.nv-more a::before { content: ""; position: absolute; inset: 0; z-index: 2; }

/* Arrow links and buttons */
.nv-arrow a::after,
.nv-arrow .wp-block-button__link::after,
.nv-arrow.wp-block-button__link::after,
.nv-submit::after {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-left: 10px;
	vertical-align: -3px;
	background: currentColor;
	-webkit-mask: var(--nv-arrow) center / contain no-repeat;
	mask: var(--nv-arrow) center / contain no-repeat;
	transition: transform .25s ease;
}
.nv-more.nv-arrow a::after { width: 16px; height: 16px; margin-left: 8px; vertical-align: -3px; }
.nv-arrow a:hover::after,
.nv-arrow:hover .wp-block-button__link::after,
.nv-arrow .wp-block-button__link:hover::after,
.nv-card:hover .nv-arrow a::after,
.nv-submit:hover::after { transform: translateX(4px); }
.nv-link-bold a { font-weight: 700; font-size: 15px; }

.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
	background: #fff;
	color: var(--nv-text);
	border-color: var(--nv-purple);
}
.nv-btn-phone .wp-block-button__link::before {
	content: "";
	width: 18px;
	height: 18px;
	margin-right: 10px;
	background: var(--nv-green);
	-webkit-mask: var(--nv-phone) center / contain no-repeat;
	mask: var(--nv-phone) center / contain no-repeat;
}
.nv-btn-sm .wp-block-button__link { padding: 12px 22px; font-size: 14px; }

/* Numbers / steps / values */
.nv-numeral { font-family: var(--wp--preset--font-family--dm-serif-display); font-size: 56px; line-height: 1; margin: 0 0 16px; }
.nv-step { display: flex; flex-direction: column; padding: 8px 0; }
.nv-step p:not(.nv-numeral) { max-width: 360px; font-size: 16px; }
.nv-panel-card {
	padding: 32px;
	border: 1px solid var(--nv-border);
	border-radius: 22px;
	background: var(--nv-warm);
}
.nv-panel-card--white { background: #fff; }
.nv-panel-card .nv-eyebrow { margin-bottom: 12px; }
.nv-panel-card h3 { margin-bottom: 12px; }
.nv-panel-card p:not(.nv-eyebrow) { font-size: 16px; }
.nv-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 0 20px !important;
	border-radius: 50%;
	font-family: var(--wp--preset--font-family--dm-serif-display);
	font-size: 18px;
	line-height: 1;
	color: #fff;
}
.nv-badge--purple { background: var(--nv-purple); }
.nv-badge--green { background: var(--nv-green); }
.nv-badge--deep { background: var(--nv-deep); }

/* About: business rows (Media & Text) */
.nv-biz.wp-block-media-text {
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
	padding: clamp(32px, 4vw, 56px) 0;
	border-top: 1px solid var(--nv-border);
}
.nv-biz.wp-block-media-text.has-media-on-the-right { grid-template-columns: 1fr 1fr; }
.nv-biz .wp-block-media-text__media { position: relative; overflow: hidden; border-radius: 24px; height: clamp(240px, 26vw, 360px); }
.nv-biz .wp-block-media-text__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.nv-biz:hover .wp-block-media-text__media img { transform: scale(1.04); }
.nv-biz .wp-block-media-text__content { padding: 0; }
.nv-biz .wp-block-media-text__content h3 { font-size: clamp(30px, 3vw, 42px); line-height: 1.1; margin-bottom: 16px; }
.nv-biz .wp-block-media-text__content p:not(.nv-eyebrow) { font-size: 17px; max-width: 480px; }
.nv-biz .nv-eyebrow { margin-bottom: 12px; }
@media (max-width: 800px) {
	.nv-biz.wp-block-media-text,
	.nv-biz.wp-block-media-text.has-media-on-the-right { grid-template-columns: 1fr !important; gap: 28px; }
	.nv-biz.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { grid-column: 1; grid-row: 1; }
	.nv-biz.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content { grid-column: 1; grid-row: 2; }
}

/* About: giant value rows */
.nv-value-row {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 24px;
	align-items: baseline;
	padding: 28px 0;
	border-top: 1px solid var(--nv-border);
}
.nv-value-row h3 { margin: 0; font-size: clamp(56px, 9vw, 120px); line-height: .95; }
.nv-value-row p { margin: 0; font-size: 18px; max-width: 480px; }

/* Roadmap list (Today / Next / Future) */
.nv-roadmap { list-style: none; margin: 0; padding: 0; counter-reset: nv-step; }
.nv-roadmap li {
	counter-increment: nv-step;
	position: relative;
	min-height: 48px;
	padding: 22px 0 22px 68px;
	border-top: 1px solid var(--nv-border);
	font-size: 17px;
	line-height: 1.5;
}
.nv-roadmap li::before {
	content: counter(nv-step);
	position: absolute;
	left: 0;
	top: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--nv-purple);
	color: #fff;
	font-family: var(--wp--preset--font-family--dm-serif-display);
	font-size: 18px;
}
.nv-roadmap li:nth-child(2)::before { background: var(--nv-green); }
.nv-roadmap li:nth-child(3)::before { background: #fff; color: var(--nv-text); }
.nv-roadmap strong { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--nv-green-dark); }

/* FAQ (Details) */
.nv-faq .wp-block-details { border-top: 1px solid var(--nv-border); padding: 4px 0; margin: 0; }
.nv-faq .wp-block-details summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 44px;
	padding: 20px 0;
	list-style: none;
	cursor: pointer;
	font-size: 18px;
	font-weight: 600;
	color: var(--nv-text);
}
.nv-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.nv-faq .wp-block-details summary::marker { content: ""; }
.nv-faq .wp-block-details summary::after {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: var(--nv-green);
	-webkit-mask: var(--nv-plus) center / contain no-repeat;
	mask: var(--nv-plus) center / contain no-repeat;
	transition: transform .25s ease;
}
.nv-faq .wp-block-details[open] summary::after { transform: rotate(45deg); }
.nv-faq .wp-block-details > :not(summary) { margin: 0 0 20px; max-width: 560px; font-size: 16px; color: var(--nv-muted); }

/* CTA panel */
.nv-cta-panel {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
	padding: clamp(40px, 6vw, 80px);
	border: 1px solid var(--nv-border);
	border-radius: 36px;
	background: var(--nv-warm);
}
.nv-cta-panel--glow::before {
	content: "";
	position: absolute;
	width: 400px;
	height: 400px;
	right: -120px;
	bottom: -200px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(76, 154, 23, .14), transparent 65%);
	pointer-events: none;
}
.nv-cta-panel > * { position: relative; margin: 0; }
.nv-cta-panel .nv-cta-text { max-width: 520px; }
.nv-cta-panel .nv-cta-text h2 { margin-bottom: 14px; }
.nv-cta-panel .nv-cta-text p { font-size: 17px; }

/* ---------- Header ---------- */
.nv-announce { text-align: center; padding: 9px 20px; }
.nv-announce p { margin: 0 !important; font-size: 13px; font-weight: 500; letter-spacing: .04em; line-height: 1.5; }
.nv-header-part {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .88);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--nv-border);
}
.admin-bar .nv-header-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .nv-header-part { top: 46px; } }
.nv-header-inner { padding-block: 12px; gap: 24px; row-gap: 12px; }
.nv-header-inner .wp-block-site-logo { line-height: 0; }
.nv-header-inner .wp-block-site-logo a { display: inline-flex; align-items: center; min-height: 44px; }
.nv-header-inner .wp-block-site-logo img { height: 56px; width: auto; mix-blend-mode: multiply; }
.nv-nav { font-size: 15px; font-weight: 600; }
.nv-nav .wp-block-navigation-item__content { position: relative; padding-block: 12px; color: var(--nv-text); }
.nv-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 6px;
	height: 2px;
	width: 0;
	background: var(--nv-green);
	transition: width .25s ease;
}
.nv-nav .wp-block-navigation-item__content:hover::after,
.nv-nav .wp-block-navigation-item__content:focus-visible::after { width: 100%; }
.nv-nav .current-menu-item > .wp-block-navigation-item__content,
.nv-nav .wp-block-navigation-item__content[aria-current="page"] { color: var(--nv-purple); }
.nv-nav .nv-nav-cta { display: none; }
.nv-nav .is-menu-open .nv-nav-cta,
.wp-block-navigation__responsive-container.is-menu-open .nv-nav-cta { display: block; }
.wp-block-navigation__responsive-container.is-menu-open .nv-nav-cta .wp-block-navigation-item__content {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 999px;
	background: var(--nv-purple);
	color: #fff;
}
.wp-block-navigation__responsive-container.is-menu-open .nv-nav-cta .wp-block-navigation-item__content::after { display: none; }
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; }
@media (max-width: 599px) { .nv-header-cta { display: none !important; } }

/* ---------- Footer ---------- */
.nv-footer { color: #fff; }
.nv-footer a { color: #fff; }
.nv-footer a:hover { color: var(--nv-green-light); }
.nv-footer-top { padding: clamp(56px, 6vw, 80px) 0 32px; }
.nv-footer-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; }
.nv-footer-brand { margin: 0 0 6px !important; font-family: var(--wp--preset--font-family--dm-serif-display); font-size: 30px; line-height: 1; }
.nv-footer-sub { margin: 0 0 18px !important; font-size: 12px; font-weight: 700; letter-spacing: .22em; color: var(--nv-green-light); }
.nv-footer-statement { max-width: 280px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .75); }
.nv-footer-kicker { margin: 0 0 16px !important; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--nv-green-light); }
.nv-footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; }
.nv-footer-links p { margin: 0 !important; color: rgba(255, 255, 255, .85); }
.nv-footer-links a { display: inline-block; padding-block: 2px; }
.nv-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); }
.nv-footer-bottom .nv-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-block: 20px;
	font-size: 13px;
	color: rgba(255, 255, 255, .6);
}
.nv-footer-bottom p { margin: 0 !important; }

/* ---------- Back to top ---------- */
.nv-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 60;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--nv-purple);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .12);
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity .3s ease, transform .3s ease, background-color .2s ease;
}
.nv-top::before {
	content: "";
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--nv-up) center / contain no-repeat;
	mask: var(--nv-up) center / contain no-repeat;
}
.nv-top.nv-show { opacity: 1; pointer-events: auto; transform: none; }
.nv-top:hover { background: var(--nv-deep); }

/* ---------- Contact ---------- */
.nv-info { display: flex; flex-direction: column; gap: 20px; }
.nv-info-row { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; }
.nv-info-row--top { align-items: start; }
.nv-info-row > * { margin: 0 !important; }
.nv-info-row .nv-info-text { display: block; }
.nv-info-label { display: block; font-size: 12px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nv-muted); line-height: 1.4; }
.nv-info-value { display: block; font-size: 17px; font-weight: 600; line-height: 1.5; }
.nv-info-value a { color: var(--nv-text); }
.nv-info-value a:hover { color: var(--nv-purple); }
.nv-info-value--plain { font-weight: 400; }
.nv-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--nv-purple);
}
.nv-icon--green { background: var(--nv-green); }
.nv-icon::before {
	content: "";
	width: 18px;
	height: 18px;
	background: #fff;
	-webkit-mask: var(--nv-icon-mask) center / contain no-repeat;
	mask: var(--nv-icon-mask) center / contain no-repeat;
}
.nv-icon--phone { --nv-icon-mask: var(--nv-phone); }
.nv-icon--mail { --nv-icon-mask: var(--nv-mail); }
.nv-icon--pin { --nv-icon-mask: var(--nv-pin); }
.nv-icon--globe { --nv-icon-mask: var(--nv-globe); }
.nv-wa-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px;
	border: 1px solid var(--nv-border);
	border-radius: 22px;
	background: var(--nv-soft);
}
.nv-wa-card > * { margin: 0 !important; }
.nv-wa-card .nv-wa-title { font-family: var(--wp--preset--font-family--dm-serif-display); font-size: 24px; line-height: 1.2; }
.nv-wa-card a { color: var(--nv-green-dark); }
.nv-form-panel {
	padding: clamp(28px, 3vw, 44px);
	border: 1px solid var(--nv-border);
	border-radius: 28px;
	background: var(--nv-warm);
}
.nv-form-panel h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; margin-bottom: 20px; }
.nv-form { display: flex; flex-direction: column; gap: 20px; }
.nv-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.nv-field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.nv-req { color: var(--nv-purple); }
.nv-input,
.nv-form input[type="text"],
.nv-form input[type="email"],
.nv-form input[type="tel"],
.nv-form textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 14px 16px;
	border: 1px solid var(--nv-border);
	border-radius: 14px;
	background: #fff;
	color: var(--nv-text);
	font: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.nv-input:focus,
.nv-form textarea:focus {
	outline: none;
	border-color: var(--nv-purple);
	box-shadow: 0 0 0 4px rgba(101, 0, 95, .12);
}
.nv-input[aria-invalid="true"] { border-color: var(--nv-error); }
.nv-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(192, 57, 43, .14); }
.nv-form textarea { resize: vertical; min-height: 140px; }
.nv-err { min-height: 1em; font-size: 13px; font-weight: 500; color: var(--nv-error); }
.nv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nv-submit {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 16px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--nv-purple);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .25s ease;
}
.nv-submit:hover { background: var(--nv-deep); }
.nv-alert { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--nv-error); color: var(--nv-error); font-size: 15px; }
.nv-success { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
.nv-success-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--nv-green); }
.nv-success-icon::before { content: ""; width: 26px; height: 26px; background: #fff; -webkit-mask: var(--nv-check) center / contain no-repeat; mask: var(--nv-check) center / contain no-repeat; }
.nv-success-title { margin: 0; font-family: var(--wp--preset--font-family--dm-serif-display); font-size: 32px; line-height: 1.1; }
.nv-success p { margin: 0; font-size: 17px; color: var(--nv-muted); }
.nv-success a { font-size: 14px; font-weight: 600; }
.nv-map-frame { overflow: hidden; height: clamp(300px, 36vw, 460px); border: 1px solid var(--nv-border); border-radius: 28px; background: #fff; }
.nv-map-frame iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.7); }

/* WPForms (when active) */
.wpforms-container .wpforms-field input,
.wpforms-container .wpforms-field textarea {
	border: 1px solid var(--nv-border) !important;
	border-radius: 14px !important;
	padding: 14px 16px !important;
	font-family: Manrope, sans-serif !important;
	max-width: 100% !important;
}
.wpforms-container .wpforms-field input:focus,
.wpforms-container .wpforms-field textarea:focus {
	border-color: var(--nv-purple) !important;
	box-shadow: 0 0 0 4px rgba(101, 0, 95, .12) !important;
}
.wpforms-container .wpforms-field-label { font-size: 14px !important; font-weight: 600 !important; }
.wpforms-container .wpforms-submit {
	background: var(--nv-purple) !important;
	border-radius: 999px !important;
	padding: 16px 28px !important;
	font-weight: 600 !important;
	font-size: 15px !important;
	height: auto !important;
}
.wpforms-container .wpforms-submit:hover { background: var(--nv-deep) !important; }
.wpforms-container .wpforms-error { color: var(--nv-error) !important; font-size: 13px !important; }
.wpforms-container .wpforms-confirmation-container-full { border-radius: 14px; background: #fff; border-color: var(--nv-green); }

/* ---------- Scroll reveal ---------- */
.nv-js .nv-reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.nv-js .nv-reveal.nv-in { opacity: 1; transform: none; }
.nv-js .nv-card.nv-reveal { transition: transform .3s ease, opacity .7s ease; }
.nv-js .nv-card.nv-reveal.nv-in:hover { transform: translateY(-4px); }

/* Editor: never hide content */
.editor-styles-wrapper .nv-reveal { opacity: 1; transform: none; }

@media (max-width: 599px) {
	.nv-hero-visual { grid-template-rows: 160px 160px; }
	.nv-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
	.nv-js .nv-reveal { opacity: 1; transform: none; }
	.nv-card:hover,
	.nv-zoom:hover img,
	.nv-card:hover .nv-zoom img,
	.nv-band:hover img,
	.nv-biz:hover .wp-block-media-text__media img { transform: none; }
}

/* Extra utilities */
.nv-mb-16 { margin-bottom: 16px !important; }
.nv-measure-420 { max-width: 420px; }
.nv-contact-col { display: flex; flex-direction: column; }
.nv-contact-col > * { margin-block: 0; }

/*
 * Palette slug "text" (required by the design tokens) makes WordPress emit
 * `.has-text-color{color:var(--text)!important}`, which is also the marker class
 * added to every block with any text colour. Re-assert the specific colours.
 */
.has-text-color.has-purple-color { color: var(--wp--preset--color--purple) !important; }
.has-text-color.has-deep-purple-color { color: var(--wp--preset--color--deep-purple) !important; }
.has-text-color.has-green-color { color: var(--wp--preset--color--green) !important; }
.has-text-color.has-green-dark-color { color: var(--wp--preset--color--green-dark) !important; }
.has-text-color.has-green-light-color { color: var(--wp--preset--color--green-light) !important; }
.has-text-color.has-white-color { color: var(--wp--preset--color--white) !important; }
.has-text-color.has-soft-color { color: var(--wp--preset--color--soft) !important; }
.has-text-color.has-warm-color { color: var(--wp--preset--color--warm) !important; }
.has-text-color.has-muted-color { color: var(--wp--preset--color--muted) !important; }
.has-text-color.has-border-color { color: var(--wp--preset--color--border) !important; }
