/*
Theme Name: BV Tile NY Dark Refined V9
Theme URI: https://bvtileny.com
Author: BV Tile NY
Author URI: https://bvtileny.com
Description: A premium custom WordPress theme for BV Tile NY, built for tile, marble, and stone installation services in Long Island.
Version: 1.6.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bv-tile-ny
Tags: custom-theme, portfolio, construction, gallery, responsive
*/

:root {
	--bv-dark: #1a1a2e;
	--bv-deep: #16213e;
	--bv-gold: #c9a96e;
	--bv-gold-strong: #d8b983;
	--bv-cream: #f0e6d3;
	--bv-warm: #2c1810;
	--bv-white: #ffffff;
	--bv-muted: rgba(255, 255, 255, 0.68);
	--bv-muted-strong: rgba(255, 255, 255, 0.82);
	--bv-line: rgba(201, 169, 110, 0.18);
	--bv-panel: rgba(18, 25, 49, 0.82);
	--bv-panel-solid: #111a34;
	--bv-panel-soft: rgba(255, 255, 255, 0.04);
	--bv-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
	--bv-radius: 1.6rem;
	--bv-radius-sm: 1rem;
	--bv-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
	margin: 0;
	background:
		radial-gradient(circle at top, rgba(201, 169, 110, 0.08), transparent 36%),
		linear-gradient(180deg, #111526 0%, var(--bv-dark) 30%, #111829 100%);
	color: var(--bv-cream);
	font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.lightbox-open,
body.mobile-menu-open {
	overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--bv-gold);
	outline-offset: 3px;
}

button,
input,
textarea,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

::selection {
	background: var(--bv-gold);
	color: var(--bv-dark);
}

.screen-reader-text,
.sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.screen-reader-text:focus,
.sr-only:focus {
	position: fixed !important;
	top: 1rem !important;
	left: 1rem !important;
	z-index: 100000 !important;
	width: auto !important;
	height: auto !important;
	padding: 0.8rem 1rem !important;
	margin: 0 !important;
	overflow: visible !important;
	clip: auto !important;
	white-space: normal !important;
	background: var(--bv-gold) !important;
	color: var(--bv-dark) !important;
}

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

.menu li {
	position: relative;
}

.menu a {
	transition: color 0.3s var(--bv-ease);
}

.menu a:hover,
.menu .current-menu-item > a,
.menu .current_page_item > a,
.menu .current-menu-ancestor > a {
	color: var(--bv-gold);
}

.alignwide {
	max-width: 1320px;
	margin-right: auto;
	margin-left: auto;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

.gallery {
	display: grid;
	gap: 1rem;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	margin-top: 0.75rem;
	color: var(--bv-muted);
	font-size: 0.9rem;
	line-height: 1.6;
}

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

.bv-section {
	position: relative;
	padding: 6.5rem 1.25rem;
}

.bv-section--tight {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.bv-section--dark {
	background:
		linear-gradient(180deg, rgba(11, 15, 30, 0.96), rgba(15, 23, 45, 0.96)),
		linear-gradient(135deg, rgba(201, 169, 110, 0.08), transparent 55%);
}

.bv-section--panel {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.01)),
		rgba(255, 255, 255, 0.01);
}

.bv-container {
	width: min(100%, 1220px);
	margin: 0 auto;
}

.bv-container-narrow {
	width: min(100%, 860px);
	margin: 0 auto;
}

.bv-grid {
	display: grid;
	gap: 1.5rem;
}

.bv-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--bv-gold);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	line-height: 1;
	text-transform: uppercase;
}

.bv-eyebrow::before {
	content: "";
	width: 2.4rem;
	height: 1px;
	background: currentColor;
	opacity: 0.72;
}

.bv-display {
	margin: 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 0.94;
}

.bv-kicker {
	color: var(--bv-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.bv-copy,
.bv-body-large {
	color: var(--bv-muted);
	font-size: clamp(1rem, 1.2vw, 1.1rem);
	line-height: 1.9;
	overflow-wrap: break-word;
}

.bv-body-large {
	font-size: clamp(1.06rem, 1.5vw, 1.24rem);
}

.bv-muted {
	color: var(--bv-muted);
}

.bv-title-xl {
	font-size: clamp(3rem, 6vw, 5.4rem);
}

.bv-title-lg {
	font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.bv-title-md {
	font-size: clamp(2.1rem, 4.6vw, 3.5rem);
}

.bv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: 3.5rem;
	padding: 0.95rem 1.45rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1;
	text-transform: uppercase;
	transition:
		transform 0.3s var(--bv-ease),
		background-color 0.3s var(--bv-ease),
		border-color 0.3s var(--bv-ease),
		color 0.3s var(--bv-ease),
		box-shadow 0.3s var(--bv-ease);
}

.bv-btn:hover {
	transform: translateY(-2px);
}

.bv-btn-dark {
	border-color: var(--bv-gold);
	background: var(--bv-gold);
	color: var(--bv-dark);
	box-shadow: 0 14px 35px rgba(201, 169, 110, 0.22);
}

.bv-btn-dark:hover {
	border-color: var(--bv-gold-strong);
	background: var(--bv-gold-strong);
}

.bv-btn-light,
.bv-btn-outline {
	border-color: rgba(255, 255, 255, 0.2);
	background: transparent;
	color: var(--bv-white);
}

.bv-btn-light:hover,
.bv-btn-outline:hover {
	border-color: var(--bv-gold);
	background: rgba(201, 169, 110, 0.12);
	color: var(--bv-gold-strong);
}

.bv-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	color: var(--bv-gold);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.bv-link-arrow::after {
	content: "\2192";
	font-size: 1rem;
	transition: transform 0.3s var(--bv-ease);
}

.bv-link-arrow:hover::after {
	transform: translateX(4px);
}

.bv-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
		var(--bv-panel);
	box-shadow: var(--bv-shadow);
	transition:
		transform 0.45s var(--bv-ease),
		border-color 0.45s var(--bv-ease),
		background-color 0.45s var(--bv-ease);
}

.bv-card:hover {
	transform: translateY(-6px);
	border-color: rgba(201, 169, 110, 0.38);
}

.bv-card__content {
	padding: 1.8rem;
}

.bv-panel {
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius);
	background: var(--bv-panel);
	box-shadow: var(--bv-shadow);
}

.bv-media {
	position: relative;
	overflow: hidden;
	border-radius: calc(var(--bv-radius) - 0.15rem);
	background: rgba(255, 255, 255, 0.04);
}

.bv-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(10, 13, 24, 0.14));
	pointer-events: none;
}

.bv-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--bv-ease);
}

.bv-media:hover img,
.bv-image-button:hover img {
	transform: scale(1.04);
}

.bv-image-button {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: zoom-in;
	border-radius: calc(var(--bv-radius) - 0.15rem);
	overflow: hidden;
}

.bv-image-button::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border: 1px solid rgba(201, 169, 110, 0);
	border-radius: inherit;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(11, 15, 28, 0.08));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0);
	opacity: 0;
	transition:
		opacity 0.3s var(--bv-ease),
		border-color 0.3s var(--bv-ease),
		box-shadow 0.3s var(--bv-ease),
		background-color 0.3s var(--bv-ease);
	pointer-events: none;
}

.bv-image-button::after {
	content: "View";
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 2;
	padding: 0.45rem 0.65rem;
	border: 1px solid rgba(201, 169, 110, 0.26);
	border-radius: 999px;
	background: rgba(10, 12, 24, 0.44);
	color: var(--bv-white);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(-8px);
	transition:
		opacity 0.3s var(--bv-ease),
		transform 0.3s var(--bv-ease);
	pointer-events: none;
}

.bv-image-button:hover::before,
.bv-image-button:focus-visible::before {
	opacity: 1;
	border-color: rgba(201, 169, 110, 0.5);
	box-shadow: inset 0 0 0 1px rgba(201, 169, 110, 0.2);
}

.bv-image-button:hover::after,
.bv-image-button:focus-visible::after {
	opacity: 1;
	transform: translateY(0);
}

.bv-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 100vh;
	padding: 8rem 1.25rem 5rem;
	border-bottom: 1px solid var(--bv-line);
	overflow: hidden;
}

.bv-hero__media,
.bv-page-hero__media {
	position: absolute;
	inset: 0;
}

.bv-hero__media img,
.bv-page-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bv-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(95deg, rgba(11, 13, 24, 0.9) 0%, rgba(11, 13, 24, 0.74) 42%, rgba(11, 13, 24, 0.42) 72%, rgba(11, 13, 24, 0.58) 100%),
		linear-gradient(180deg, rgba(11, 13, 24, 0.18), rgba(11, 13, 24, 0.62));
}

.bv-hero__inner {
	position: relative;
	z-index: 1;
	width: min(100%, 1220px);
	margin: 0 auto;
}

.bv-hero__content {
	max-width: 760px;
}

.bv-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
}

.bv-hero__call {
	margin: 1.1rem 0 0;
}

.bv-hero__call a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--bv-cream);
	font-size: 0.92rem;
	font-weight: 700;
}

.bv-hero__call a:hover,
.bv-hero__call a:focus-visible {
	color: var(--bv-gold-strong);
}

.bv-hero__aside {
	margin-top: 2.5rem;
	max-width: 460px;
	padding: 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--bv-radius-sm);
	background: rgba(12, 18, 35, 0.42);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.bv-detail-strip {
	padding: 2rem 1.25rem;
	border-bottom: 1px solid var(--bv-line);
}

.bv-detail-strip__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	width: min(100%, 1220px);
	margin: 0 auto;
}

.bv-detail-card {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.4rem 1.5rem;
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius-sm);
	background: rgba(255, 255, 255, 0.02);
}

.bv-detail-card > * {
	min-width: 0;
}

.bv-detail-card__value {
	margin: 0.6rem 0 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 600;
	line-height: 1.08;
	color: var(--bv-white);
	overflow-wrap: break-word;
}

.bv-detail-card__value--compact {
	font-size: clamp(1.1rem, 2vw, 1.5rem);
	line-height: 1.2;
}

.bv-contact-link,
.site-footer__email {
	display: inline-block;
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.bv-detail-card__index {
	color: var(--bv-gold);
	font-size: 0.88rem;
	font-weight: 700;
}

.bv-service-grid,
.bv-project-grid,
.bv-process-grid,
.bv-review-grid,
.bv-card-grid {
	display: grid;
	gap: 1.5rem;
}

.bv-service-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bv-project-grid,
.bv-review-grid,
.bv-card-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bv-process-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bv-service-card,
.bv-process-card,
.bv-review-card,
.bv-archive-card {
	height: 100%;
}

.bv-service-card .bv-card__content,
.bv-review-card .bv-card__content,
.bv-archive-card .bv-card__content {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.bv-service-card ul,
.bv-list {
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.bv-list li,
.bv-service-card li {
	position: relative;
	padding-left: 1.2rem;
	color: var(--bv-muted);
	font-size: 0.95rem;
	line-height: 1.8;
}

.bv-list li + li,
.bv-service-card li + li {
	margin-top: 0.55rem;
}

.bv-list li::before,
.bv-service-card li::before {
	content: "";
	position: absolute;
	top: 0.8rem;
	left: 0;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 999px;
	background: var(--bv-gold);
}

.bv-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius);
	overflow: hidden;
	background: rgba(255, 255, 255, 0.02);
	box-shadow: var(--bv-shadow);
}

.bv-split--reverse {
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.bv-split__media {
	min-height: 520px;
}

.bv-split__content {
	padding: 4rem;
}

.bv-feature-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 2rem;
}

.bv-feature-list__item {
	padding-top: 1.2rem;
	border-top: 1px solid var(--bv-line);
}

.bv-feature-list__item strong {
	display: block;
	margin-bottom: 0.5rem;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.8rem;
	font-weight: 600;
	color: var(--bv-white);
}

.bv-project-card__meta,
.bv-archive-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 0.8rem;
	color: var(--bv-gold);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.bv-project-card__body {
	padding-top: 1rem;
}

.bv-process-card {
	padding-top: 1.4rem;
	border-top: 1px solid var(--bv-line);
}

.bv-process-card__number {
	color: var(--bv-gold);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.bv-review-card blockquote {
	margin: 0;
	color: var(--bv-muted-strong);
	font-size: 1rem;
	line-height: 1.9;
}

.bv-review-card cite {
	display: block;
	margin-top: 1.4rem;
	color: var(--bv-gold);
	font-size: 0.72rem;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.bv-cta-banner {
	padding: 4rem;
	border: 1px solid rgba(201, 169, 110, 0.22);
	border-radius: calc(var(--bv-radius) + 0.4rem);
	background:
		linear-gradient(135deg, rgba(201, 169, 110, 0.12), transparent 42%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
		var(--bv-panel-solid);
	box-shadow: var(--bv-shadow);
}

.bv-page-hero {
	position: relative;
	padding: 11rem 1.25rem 4.5rem;
	border-bottom: 1px solid var(--bv-line);
	overflow: hidden;
}

.bv-page-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 12, 22, 0.8), rgba(10, 12, 22, 0.92)),
		radial-gradient(circle at top left, rgba(201, 169, 110, 0.16), transparent 36%);
}

.bv-page-hero__inner {
	position: relative;
	z-index: 1;
	width: min(100%, 1220px);
	margin: 0 auto;
}

.bv-page-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 2rem;
	align-items: end;
}

.bv-page-hero__copy {
	max-width: 520px;
	margin-left: auto;
}

.bv-shell-grid > *,
.bv-page-hero__grid > *,
.site-footer__inner > * {
	min-width: 0;
}

.bv-prose {
	color: var(--bv-muted);
	font-size: 1.04rem;
	line-height: 1.95;
}

.bv-prose > *:first-child {
	margin-top: 0;
}

.bv-prose h1,
.bv-prose h2,
.bv-prose h3,
.bv-prose h4,
.bv-prose h5,
.bv-prose h6 {
	margin: 2.4rem 0 1rem;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 600;
	line-height: 1;
	color: var(--bv-white);
}

.bv-prose h2 {
	font-size: clamp(2rem, 4vw, 3rem);
}

.bv-prose h3 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.bv-prose p,
.bv-prose ul,
.bv-prose ol,
.bv-prose blockquote {
	margin: 1rem 0 0;
}

.bv-prose a {
	color: var(--bv-gold);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.bv-prose blockquote {
	padding-left: 1.2rem;
	border-left: 2px solid var(--bv-gold);
	color: var(--bv-muted-strong);
}

.bv-prose img {
	border-radius: var(--bv-radius-sm);
}

.bv-shell-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.bv-shell-panel {
	padding: 2rem;
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius);
	background: rgba(255, 255, 255, 0.02);
}

.bv-shell-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.bv-shell-stat {
	padding: 1.35rem 1.4rem;
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius-sm);
	background: rgba(255, 255, 255, 0.02);
}

.bv-shell-stat__label {
	display: block;
	color: var(--bv-muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.bv-shell-stat__value {
	display: block;
	margin-top: 0.6rem;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 2rem;
	font-weight: 600;
	color: var(--bv-white);
}

.bv-filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.bv-filter-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.85rem 1.1rem;
	border: 1px solid var(--bv-line);
	border-radius: 999px;
	background: transparent;
	color: var(--bv-muted);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	transition:
		border-color 0.3s var(--bv-ease),
		background-color 0.3s var(--bv-ease),
		color 0.3s var(--bv-ease);
}

.bv-filter-button:hover,
.bv-filter-button.is-active {
	border-color: var(--bv-gold);
	background: rgba(201, 169, 110, 0.12);
	color: var(--bv-white);
}

.bv-filter-item.is-hidden {
	display: none;
}

.bv-gallery-empty {
	margin: 1.5rem 0 0;
	padding: 2rem;
	border: 1px dashed rgba(201, 169, 110, 0.3);
	border-radius: var(--bv-radius-sm);
	background: rgba(255, 255, 255, 0.03);
	color: var(--bv-muted);
	text-align: center;
	font-size: 0.95rem;
}

.bv-marquee {
	overflow: hidden;
}

.bv-marquee__track {
	display: flex;
	width: max-content;
	gap: 1.25rem;
	padding-right: 1.25rem;
	animation: bvMarquee 34s linear infinite;
}

.bv-marquee:hover .bv-marquee__track {
	animation-play-state: paused;
}

@keyframes bvMarquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.bv-form,
.wpcf7-form {
	display: grid;
	gap: 1rem;
}

.bv-form-shell {
	padding: 2rem;
	border: 1px solid var(--bv-line);
	border-radius: var(--bv-radius);
	background: rgba(8, 12, 24, 0.72);
	box-shadow: var(--bv-shadow);
}

.bv-label,
.wpcf7 label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--bv-muted);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.bv-field,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select,
.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select {
	width: 100%;
	min-height: 3.35rem;
	padding: 0.95rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.04);
	color: var(--bv-white);
	outline: none;
	transition:
		border-color 0.3s var(--bv-ease),
		background-color 0.3s var(--bv-ease),
		box-shadow 0.3s var(--bv-ease);
}

.bv-field::placeholder,
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.bv-field:focus,
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus,
.wpforms-field input:focus,
.wpforms-field textarea:focus,
.wpforms-field select:focus {
	border-color: rgba(201, 169, 110, 0.45);
	background: rgba(255, 255, 255, 0.06);
	box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.08);
}

select.bv-field,
.wpcf7 select,
.wpforms-field select {
	color: var(--bv-cream);
	appearance: none;
}

select.bv-field option,
.wpcf7 select option,
.wpforms-field select option {
	color: var(--bv-dark);
	background: var(--bv-cream);
}

select.bv-field option[value=""],
.wpcf7 select option[value=""],
.wpforms-field select option[value=""] {
	color: #5c533f;
}

textarea.bv-field,
.wpcf7 textarea {
	min-height: 10rem;
	resize: vertical;
}

.bv-submit,
.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 3.4rem;
	padding: 0.95rem 1.5rem;
	border: 1px solid var(--bv-gold);
	border-radius: 999px;
	background: var(--bv-gold);
	color: var(--bv-dark);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition:
		transform 0.3s var(--bv-ease),
		background-color 0.3s var(--bv-ease),
		border-color 0.3s var(--bv-ease);
}

.bv-submit:hover,
.wpcf7-submit:hover {
	transform: translateY(-2px);
	border-color: var(--bv-gold-strong);
	background: var(--bv-gold-strong);
}

#site-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	border-bottom: 1px solid transparent;
	transition:
		background-color 0.3s var(--bv-ease),
		border-color 0.3s var(--bv-ease),
		backdrop-filter 0.3s var(--bv-ease),
		box-shadow 0.3s var(--bv-ease);
}

#site-header.is-scrolled {
	border-color: rgba(201, 169, 110, 0.16);
	background: rgba(10, 14, 27, 0.78);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

body.admin-bar #site-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar #site-header {
		top: 46px;
	}
}

.bv-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	width: min(100%, 1220px);
	min-height: 5.5rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.bv-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.95rem;
}

.bv-brand__mark {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.22rem;
	width: 2.7rem;
	height: 2.7rem;
	padding: 0.34rem;
	border: 1px solid rgba(201, 169, 110, 0.28);
	border-radius: 0.9rem;
	background: rgba(255, 255, 255, 0.04);
}

.bv-brand__mark span {
	border: 1px solid rgba(201, 169, 110, 0.5);
	border-radius: 0.2rem;
}

.bv-brand__title {
	display: block;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.95rem;
	font-weight: 600;
	line-height: 1;
	color: var(--bv-white);
}

.bv-brand__tagline {
	display: block;
	margin-top: 0.15rem;
	color: var(--bv-muted);
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.28em;
	text-transform: uppercase;
}

.bv-nav {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.bv-nav .menu {
	display: flex;
	align-items: center;
	gap: 1.8rem;
}

.bv-nav .menu a,
.bv-nav__fallback a {
	color: var(--bv-muted-strong);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.bv-nav__fallback {
	display: flex;
	align-items: center;
	gap: 1.8rem;
}

.bv-header__cta {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
}

.bv-header__call {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.75rem 1.1rem;
	border: 1px solid rgba(201, 169, 110, 0.35);
	border-radius: 999px;
	background: rgba(201, 169, 110, 0.08);
	color: var(--bv-cream);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	white-space: nowrap;
	transition:
		border-color 0.3s var(--bv-ease),
		background-color 0.3s var(--bv-ease),
		color 0.3s var(--bv-ease);
}

.bv-header__call:hover,
.bv-header__call:focus-visible {
	border-color: var(--bv-gold);
	background: rgba(201, 169, 110, 0.16);
	color: var(--bv-gold-strong);
}

.bv-header__call-icon {
	width: 1.05rem;
	height: 1.05rem;
	flex-shrink: 0;
}

.bv-header__call--compact {
	display: none;
	padding: 0.65rem 0.85rem;
}

.bv-service-card[id],
#contact-form {
	scroll-margin-top: 7.5rem;
}

.bv-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border: 1px solid rgba(201, 169, 110, 0.28);
	border-radius: 0.95rem;
	background: rgba(255, 255, 255, 0.05);
	color: var(--bv-white);
}

.bv-menu-toggle__lines {
	position: relative;
	width: 1.3rem;
	height: 1rem;
}

.bv-menu-toggle__lines span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transition: transform 0.3s var(--bv-ease), opacity 0.3s var(--bv-ease), top 0.3s var(--bv-ease);
}

.bv-menu-toggle__lines span:nth-child(1) {
	top: 0;
}

.bv-menu-toggle__lines span:nth-child(2) {
	top: 0.45rem;
}

.bv-menu-toggle__lines span:nth-child(3) {
	top: 0.9rem;
}

.bv-menu-toggle.is-active .bv-menu-toggle__lines span:nth-child(1) {
	top: 0.45rem;
	transform: rotate(45deg);
}

.bv-menu-toggle.is-active .bv-menu-toggle__lines span:nth-child(2) {
	opacity: 0;
}

.bv-menu-toggle.is-active .bv-menu-toggle__lines span:nth-child(3) {
	top: 0.45rem;
	transform: rotate(-45deg);
}

#mobile-navigation {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: block;
	pointer-events: none;
	opacity: 0;
	background: rgba(4, 7, 15, 0.58);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: opacity 0.3s var(--bv-ease);
}

body.mobile-menu-open #mobile-navigation {
	pointer-events: auto;
	opacity: 1;
}

.bv-mobile-panel {
	display: flex;
	flex-direction: column;
	width: min(100%, 24rem);
	height: 100%;
	margin-left: auto;
	padding: 1.4rem;
	background: linear-gradient(180deg, #0e1528 0%, #121d37 100%);
	transform: translateX(100%);
	transition: transform 0.35s var(--bv-ease);
}

body.mobile-menu-open .bv-mobile-panel {
	transform: translateX(0);
}

.bv-mobile-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--bv-line);
}

.bv-mobile-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.7rem;
	height: 2.7rem;
	border: 1px solid var(--bv-line);
	border-radius: 0.8rem;
	background: transparent;
	color: var(--bv-white);
}

.bv-mobile-nav {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
}

.bv-mobile-nav .menu,
.bv-mobile-nav__fallback {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.bv-mobile-nav .menu a,
.bv-mobile-nav__fallback a {
	display: block;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.8rem, 8vw, 2.2rem);
	font-weight: 600;
	line-height: 1;
	color: var(--bv-white);
}

.bv-mobile-panel__footer {
	padding-top: 1rem;
	border-top: 1px solid var(--bv-line);
}

.site-footer {
	border-top: 1px solid var(--bv-line);
	background:
		linear-gradient(180deg, rgba(9, 13, 24, 0.98), rgba(15, 23, 43, 0.98)),
		radial-gradient(circle at top, rgba(201, 169, 110, 0.1), transparent 38%);
}

.site-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 0.95fr);
	gap: 2rem;
	width: min(100%, 1220px);
	margin: 0 auto;
	padding: 5rem 1.25rem 2rem;
}

.site-footer__title {
	margin: 0;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 2rem;
	font-weight: 600;
	color: var(--bv-white);
}

.site-footer__heading {
	margin: 0;
	color: var(--bv-gold);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.site-footer__description,
.site-footer__contact,
.site-footer__list,
.site-footer__note {
	margin: 1rem 0 0;
	color: var(--bv-muted);
	font-size: 0.96rem;
	line-height: 1.9;
}

.site-footer__contact a,
.site-footer__note,
.site-footer__description {
	overflow-wrap: break-word;
}

.site-footer__list,
.site-footer__contact,
.site-footer__social {
	padding: 0;
	list-style: none;
}

.site-footer__list li + li,
.site-footer__contact li + li,
.site-footer__social li + li {
	margin-top: 0.45rem;
}

.site-footer__social a,
.site-footer__contact a,
.site-footer__list a {
	color: var(--bv-muted);
	transition: color 0.3s var(--bv-ease);
}

.site-footer__social a:hover,
.site-footer__contact a:hover,
.site-footer__list a:hover {
	color: var(--bv-gold);
}

.site-footer__bottom {
	width: min(100%, 1220px);
	margin: 0 auto;
	padding: 1.5rem 1.25rem 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	color: rgba(255, 255, 255, 0.46);
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

[data-back-to-top] {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 50;
	display: none;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border: 1px solid rgba(201, 169, 110, 0.24);
	border-radius: 999px;
	background: rgba(10, 14, 26, 0.88);
	color: var(--bv-white);
	box-shadow: var(--bv-shadow);
}

[data-back-to-top].is-visible {
	display: inline-flex;
}

.bv-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	background: rgba(4, 6, 12, 0.94);
}

.bv-lightbox.is-open {
	display: flex;
}

.bv-lightbox__inner {
	position: relative;
	width: min(100%, 78rem);
	max-height: 88vh;
}

.bv-lightbox__image {
	width: 100%;
	max-height: 84vh;
	object-fit: contain;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.02);
}

.bv-lightbox__caption {
	margin-top: 0.85rem;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.9rem;
	line-height: 1.7;
	text-align: center;
}

.bv-lightbox__button {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.8rem;
	height: 2.8rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.42);
	color: var(--bv-white);
}

.bv-lightbox__close {
	top: -3.4rem;
	right: 0;
}

.bv-lightbox__prev {
	top: 50%;
	left: -3.8rem;
	transform: translateY(-50%);
}

.bv-lightbox__next {
	top: 50%;
	right: -3.8rem;
	transform: translateY(-50%);
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.8rem;
	min-height: 2.8rem;
	padding: 0 0.9rem;
	border: 1px solid var(--bv-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.02);
	color: var(--bv-muted);
	font-size: 0.78rem;
	font-weight: 700;
	transition:
		border-color 0.3s var(--bv-ease),
		background-color 0.3s var(--bv-ease),
		color 0.3s var(--bv-ease);
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
	border-color: var(--bv-gold);
	background: rgba(201, 169, 110, 0.12);
	color: var(--bv-white);
}

[data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.8s var(--bv-ease),
		transform 0.8s var(--bv-ease);
}

[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

[data-reveal="left"] {
	transform: translateX(-28px);
}

[data-reveal="right"] {
	transform: translateX(28px);
}

[data-reveal="scale"] {
	transform: scale(0.97);
}

[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible {
	transform: translateX(0);
}

[data-reveal="scale"].is-visible {
	transform: scale(1);
}

@media (max-width: 1200px) {
	.bv-service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bv-process-grid,
	.bv-project-grid,
	.bv-review-grid,
	.bv-card-grid,
	.site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.bv-section {
		padding-top: 5.5rem;
		padding-bottom: 5.5rem;
	}

	.bv-split,
	.bv-page-hero__grid,
	.bv-shell-grid,
	.bv-detail-strip__grid {
		grid-template-columns: 1fr;
	}

	.bv-split__content,
	.bv-cta-banner {
		padding: 2.5rem;
	}

	.bv-split__media {
		min-height: 400px;
	}

	.bv-lightbox__prev {
		left: 0.75rem;
	}

	.bv-lightbox__next {
		right: 0.75rem;
	}
}

@media (max-width: 900px) {
	.bv-nav,
	.bv-header__cta {
		display: none;
	}

	.bv-header__call--compact {
		display: inline-flex;
	}

	.bv-menu-toggle {
		display: inline-flex;
	}

	.bv-shell-stats {
		grid-template-columns: 1fr;
	}

	.site-footer__bottom {
		flex-direction: column;
	}
}

@media (max-width: 768px) {
	.bv-title-xl {
		font-size: clamp(2.6rem, 10vw, 3.8rem);
	}

	.bv-title-lg {
		font-size: clamp(2.2rem, 8vw, 3.2rem);
	}

	.bv-title-md {
		font-size: clamp(2rem, 8vw, 3rem);
	}

	.bv-hero {
		min-height: auto;
		padding-top: 8.5rem;
		padding-bottom: 4rem;
	}

	.bv-hero__actions,
	.bv-feature-list,
	.bv-process-grid,
	.bv-service-grid,
	.bv-project-grid,
	.bv-review-grid,
	.bv-card-grid,
	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.bv-detail-card,
	.bv-page-hero,
	.bv-detail-strip,
	.bv-section {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.bv-btn {
		width: 100%;
	}

	.bv-detail-card {
		align-items: flex-start;
	}

	.bv-detail-card__value {
		font-size: clamp(1.25rem, 6vw, 1.7rem);
	}

	.bv-detail-card__value--compact {
		font-size: clamp(1rem, 4.4vw, 1.25rem);
	}

	.bv-image-button::after {
		top: 0.75rem;
		right: 0.75rem;
	}

	.bv-marquee__track > .bv-image-button {
		width: min(72vw, 320px) !important;
		height: 360px !important;
	}

	.bv-lightbox__close {
		top: 0.75rem;
		right: 0.75rem;
	}
}

@media (max-width: 400px) {
	.bv-header__call-text--mobile {
		display: none;
	}

	.bv-header__call--compact {
		padding: 0.65rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	[data-reveal] {
		opacity: 1 !important;
		transform: none !important;
	}
}
