:root {
	--rn-black: #050505;
	--rn-panel: #0b0b0e;
	--rn-panel-soft: #121216;
	--rn-line: rgba(255, 255, 255, 0.08);
	--rn-text: #f3f3f5;
	--rn-muted: #afafb5;
	--rn-red: #df1616;
	--rn-red-deep: #850606;
	--rn-red-glow: rgba(223, 22, 22, 0.45);
	--rn-white: #ffffff;
	--rn-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
	--rn-radius: 8px;
	--rn-container: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--rn-black);
	color: var(--rn-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(125deg, rgba(223, 22, 22, 0.12), transparent 38%),
		linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
		linear-gradient(180deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
		linear-gradient(180deg, #050506 0%, #08080a 45%, #050505 100%);
	background-size: auto, 64px 64px, 64px 64px, auto;
}

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

a[href^="mailto:"]:not(.btn) {
	color: var(--rn-red) !important;
	text-decoration: none !important;
	border-bottom: 1px dotted var(--rn-red) !important;
	transition: all 0.2s ease;
}

a[href^="mailto:"]:not(.btn):hover {
	color: var(--rn-white) !important;
	border-bottom-color: var(--rn-white) !important;
}

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

p {
	margin: 0 0 1rem;
	color: var(--rn-muted);
}

h1,
h2,
h3,
h4 {
	margin: 0;
	color: var(--rn-white);
	line-height: 1.05;
	font-weight: 900;
	letter-spacing: -0.01em;
}

h1 {
	font-size: clamp(2.5rem, 6.5vw, 5.5rem);
	text-transform: uppercase;
	margin-bottom: 24px;
}

h2 {
	font-size: clamp(1.8rem, 4vw, 3.2rem);
	text-transform: uppercase;
	line-height: 1.1;
}

h3 {
	font-size: 1.25rem;
	text-transform: uppercase;
}

.rn-container {
	width: min(calc(100% - 40px), var(--rn-container));
	margin-inline: auto;
}

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

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 10px 14px;
	background: var(--rn-red);
	color: var(--rn-white);
	clip: auto;
}

/* Site Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid var(--rn-line);
	background: rgba(5, 5, 5, 0.85);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.rn-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 86px;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	width: auto;
	height: 66px;
}

.brand-logo-text {
	height: 34px;
	width: auto;
	object-fit: contain;
	transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.4s ease;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.brand:hover .brand-logo-text {
	transform: scale(1.05);
	filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));
}

/* Navigation */
.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid transparent;
	border-radius: var(--rn-radius);
	color: var(--rn-muted);
	font-weight: 800;
	text-transform: uppercase;
	font-size: 0.76rem;
	letter-spacing: 0.02em;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
	border-color: rgba(223, 22, 22, 0.45);
	background: rgba(223, 22, 22, 0.1);
	color: var(--rn-white);
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--rn-line);
	border-radius: var(--rn-radius);
	background: var(--rn-panel);
	cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
	display: block;
	width: 20px;
	height: 2px;
	margin: 5px auto;
	background: var(--rn-white);
	transition: 0.3s;
}

/* Static Hero Fallback */
.hero {
	position: relative;
	min-height: calc(100vh - 86px);
	padding: 80px 0;
	overflow: hidden;
	border-bottom: 1px solid var(--rn-line);
	display: grid;
	align-items: center;
}

.hero::after {
	content: "RATNOX";
	position: absolute;
	right: -2vw;
	bottom: -4vw;
	z-index: -1;
	color: rgba(255, 255, 255, 0.02);
	font-size: 16vw;
	font-weight: 950;
	line-height: 1;
	user-select: none;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	align-items: center;
	gap: 56px;
}

.hero-copy {
	max-width: 820px;
}

.hero .lead {
	max-width: 660px;
	margin-top: 20px;
	font-size: 1.15rem;
}

.hero-mark {
	position: relative;
	min-height: 440px;
	display: grid;
	place-items: center;
}

.hero-mark::before {
	content: "";
	position: absolute;
	inset: 8%;
	border: 1px solid rgba(223, 22, 22, 0.2);
	border-radius: 50%;
	box-shadow: inset 0 0 60px rgba(223, 22, 22, 0.12), 0 0 80px rgba(223, 22, 22, 0.06);
}

.hero-mark img {
	width: min(420px, 100%);
	filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.65));
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	color: var(--rn-red);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 34px;
	height: 10px;
	background: var(--rn-red);
}

.lead {
	color: #d2d2d6;
	font-size: 1.05rem;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

/* Button & Link styles */
.btn,
.rn-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border-radius: var(--rn-radius);
	font-weight: 900;
	text-transform: uppercase;
	font-size: 0.76rem;
	letter-spacing: 0.02em;
	transition: 0.25s ease;
	cursor: pointer;
}

.btn-primary {
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: linear-gradient(135deg, var(--rn-red), var(--rn-red-deep));
	color: var(--rn-white);
	box-shadow: 0 12px 30px rgba(223, 22, 22, 0.22);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 36px rgba(223, 22, 22, 0.35);
}

.btn-secondary,
.rn-link {
	border: 1px solid var(--rn-line);
	background: rgba(255, 255, 255, 0.04);
	color: var(--rn-white);
}

.btn-secondary:hover,
.rn-link:hover {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
	transform: translateY(-2px);
}

/* Section grids */
.rn-section {
	padding: 92px 0;
}

.section-heading {
	margin-bottom: 44px;
}

.section-heading.two-col {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
}

.service-grid,
.about-grid,
.contact-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
	gap: 24px;
}

.service-card,
.content-panel,
.contact-panel,
.contact-details,
.rn-e-card,
.about-grid article {
	border: 1px solid var(--rn-line);
	border-radius: var(--rn-radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
	box-shadow: var(--rn-shadow);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

/* Service Card specifics */
.service-card {
	min-height: 220px;
	padding: 32px;
}

.service-card h3 {
	margin-bottom: 16px;
}

.service-card::before {
	content: "";
	display: block;
	width: 36px;
	height: 4px;
	margin-bottom: 24px;
	background: var(--rn-red);
}

.service-card:hover {
	border-color: rgba(223, 22, 22, 0.35);
	transform: translateY(-3px);
}

/* Portfolio grid overlay */
.portfolio-band {
	border-block: 1px solid var(--rn-line);
	background: rgba(255, 255, 255, 0.015);
}

.project-card {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
	border: 1px solid var(--rn-line);
	border-radius: var(--rn-radius);
	transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.project-card a {
	display: block;
	position: relative;
	height: 100%;
}

.project-thumb {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	background:
		linear-gradient(135deg, rgba(223, 22, 22, 0.22), transparent 42%),
		linear-gradient(180deg, #121215, #08080a);
	color: var(--rn-white);
	overflow: hidden;
}

.project-thumb::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.88));
}

.project-thumb img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.5s ease;
}

.project-thumb > span {
	position: relative;
	z-index: 1;
	padding: 24px;
	color: rgba(255, 255, 255, 0.35);
	font-weight: 900;
	text-transform: uppercase;
}

.project-info {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 2;
	padding: 28px 24px 24px;
	text-align: left;
	background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 5, 0.95) 75%);
	transition: transform 0.4s ease;
}

.project-category {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--rn-red) !important;
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.project-info h3 {
	margin: 0 0 10px;
	color: var(--rn-white);
	text-transform: uppercase;
	font-size: 1.25rem;
	letter-spacing: 0.02em;
}

.project-info p {
	margin: 0;
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.88rem;
	line-height: 1.5;
	opacity: 0.85;
}

.project-card:hover {
	transform: translateY(-6px);
	border-color: var(--rn-red);
	box-shadow: 
		0 20px 50px rgba(0, 0, 0, 0.85),
		0 0 30px var(--rn-red-glow);
}

.project-card:hover .project-thumb img {
	transform: scale(1.08) rotate(1deg);
	opacity: 0.75;
}

.project-card::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--rn-red), var(--rn-red-deep));
	transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	transform: translateX(-50%);
	z-index: 5;
}

.project-card:hover::after {
	width: 100%;
}

/* Workflow/Workflow process */
.process-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 56px;
	align-items: start;
}

.steps {
	display: grid;
	gap: 12px;
}

.step {
	display: grid;
	grid-template-columns: 74px 1fr;
	align-items: center;
	min-height: 76px;
	border: 1px solid var(--rn-line);
	border-radius: var(--rn-radius);
	background: rgba(255, 255, 255, 0.02);
}

.step span {
	display: grid;
	place-items: center;
	height: 100%;
	border-right: 1px solid var(--rn-line);
	color: var(--rn-red);
	font-weight: 950;
	font-size: 1.1rem;
}

.step strong {
	padding: 0 24px;
	color: var(--rn-white);
	text-transform: uppercase;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
}

/* CTA Band */
.cta-band {
	padding: 56px 0;
	background: linear-gradient(135deg, rgba(223, 22, 22, 0.22), rgba(255, 255, 255, 0.02));
	border-block: 1px solid rgba(223, 22, 22, 0.25);
}

.cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

/* Standard pages & layouts */
.rn-page-content {
	min-height: 420px;
}

.page-hero {
	padding: 98px 0 72px;
	border-bottom: 1px solid var(--rn-line);
	background: rgba(255, 255, 255, 0.01);
}

.page-hero.compact {
	padding: 76px 0 58px;
}

.split-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
	gap: 48px;
	align-items: center;
}

.project-featured,
.logo-panel {
	border: 1px solid var(--rn-line);
	border-radius: var(--rn-radius);
	background: #030303;
	padding: 20px;
	box-shadow: var(--rn-shadow);
}

.project-featured img,
.logo-panel img {
	margin: auto;
}

.prose {
	max-width: 860px;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
	margin: 0 0 18px;
	text-transform: uppercase;
}

.prose a {
	color: var(--rn-white);
	border-bottom: 1px solid var(--rn-red);
}



.project-services-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.project-service-badge {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 12px;
	border: 1px solid var(--rn-line);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--rn-white) !important;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.project-service-badge:hover {
	border-color: var(--rn-red);
	background: rgba(223, 22, 22, 0.15);
}

/* Lightbox Modal */
.rn-lightbox-open {
	overflow: hidden;
}

.rn-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 280ms ease;
}

.rn-lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}

.rn-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 4, 5, 0.88);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.rn-lightbox__dialog {
	position: relative;
	z-index: 2;
	width: min(1080px, 92%);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.rn-lightbox__image {
	max-width: 100%;
	max-height: 72vh;
	object-fit: contain;
	border: 1px solid var(--rn-line);
	border-radius: var(--rn-radius);
	box-shadow: var(--rn-shadow);
	background: #030303;
}

.rn-lightbox__caption {
	margin: 18px 0 0;
	color: var(--rn-white);
	font-weight: 800;
	text-transform: uppercase;
	font-size: 0.95rem;
	text-align: center;
}

.rn-lightbox__count {
	margin: 4px 0 0;
	color: var(--rn-red);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-align: center;
}

.rn-lightbox__close {
	position: absolute;
	top: -48px;
	right: 0;
	background: none;
	border: none;
	color: var(--rn-muted);
	font-size: 2.2rem;
	cursor: pointer;
	line-height: 1;
	transition: color 0.2s ease;
}

.rn-lightbox__close:hover {
	color: var(--rn-white);
}

.rn-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(5, 5, 5, 0.65);
	border: 1px solid var(--rn-line);
	color: var(--rn-white);
	font-size: 1.8rem;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	cursor: pointer;
	line-height: 1;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.rn-lightbox__nav:hover {
	background: var(--rn-red);
	border-color: var(--rn-red);
}

.rn-lightbox__nav--prev {
	left: -56px;
}

.rn-lightbox__nav--next {
	right: -56px;
}

/* Contact Page Form Grid */
.contact-panel {
	padding: 38px;
}

.contact-details {
	padding: 38px;
}

.ratnox-cf7-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 18px;
}

.wpcf7 label {
	display: block;
	color: var(--rn-white);
	font-weight: 800;
	text-transform: uppercase;
	font-size: 0.74rem;
	letter-spacing: 0.04em;
	margin-bottom: 8px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 16px;
	border: 1px solid var(--rn-line);
	border-radius: var(--rn-radius);
	background: rgba(255, 255, 255, 0.03);
	color: var(--rn-white);
	font-family: inherit;
	font-size: 0.9rem;
	outline: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	border-color: rgba(223, 22, 22, 0.55);
	background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 0 10px rgba(223, 22, 22, 0.12);
}

.wpcf7 textarea {
	min-height: 130px;
	resize: vertical;
}

.wpcf7 select option {
	background: #0e0e11;
	color: var(--rn-white);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
	color: rgba(255, 255, 255, 0.25) !important;
	opacity: 1;
}

/* Custom Checkbox Group Box */
.cf7-checkbox-group {
	border: 1px solid var(--rn-line);
	border-radius: var(--rn-radius);
	padding: 20px 24px;
	background: rgba(255, 255, 255, 0.01);
	margin-top: 8px;
	margin-bottom: 18px;
}

.cf7-checkbox-group .wpcf7-checkbox {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 16px 24px !important;
	margin-top: 0 !important;
}

@media (max-width: 900px) {
	.cf7-checkbox-group .wpcf7-checkbox {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 620px) {
	.cf7-checkbox-group .wpcf7-checkbox {
		grid-template-columns: 1fr !important;
	}
}

/* Custom Checkboxes styling */
.wpcf7 .wpcf7-list-item {
	margin: 0;
	display: inline-block;
}

.wpcf7 .wpcf7-list-item label {
	display: flex !important;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	text-transform: none !important;
	font-weight: 500 !important;
	font-size: 0.9rem !important;
	letter-spacing: 0 !important;
	color: var(--rn-muted) !important;
	margin-bottom: 0 !important;
	transition: color 0.2s ease;
}

.wpcf7 .wpcf7-list-item label:hover {
	color: var(--rn-white) !important;
}

.wpcf7 .wpcf7-list-item label:has(input[type="checkbox"]:checked) {
	color: var(--rn-white) !important;
	font-weight: 800 !important;
}

.wpcf7 input[type="checkbox"] {
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	accent-color: var(--rn-red) !important;
	width: 18px;
	height: 18px;
	border: 1px solid rgba(223, 22, 22, 0.45) !important;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.03) !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.wpcf7 input[type="checkbox"]:checked {
	background: var(--rn-red) !important;
	border-color: var(--rn-red) !important;
	box-shadow: 0 0 10px var(--rn-red-glow) !important;
}

.wpcf7 input[type="checkbox"]::before {
	content: "";
	width: 10px;
	height: 10px;
	transform: scale(0);
	transition: 120ms transform ease-in-out;
	background-color: var(--rn-white);
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.wpcf7 input[type="checkbox"]:checked::before {
	transform: scale(1);
}

.wpcf7-response-output {
	margin: 22px 0 0 !important;
	padding: 14px 16px !important;
	border: 1px solid rgba(223, 22, 22, 0.45) !important;
	border-radius: var(--rn-radius) !important;
	background: rgba(223, 22, 22, 0.08) !important;
	color: var(--rn-white) !important;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: rgba(255, 255, 255, 0.2) !important;
	background: rgba(255, 255, 255, 0.06) !important;
	color: var(--rn-muted) !important;
}

.wpcf7 input[type="submit"] {
	width: 100% !important;
	min-height: 48px !important;
	padding: 0 24px !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: var(--rn-radius) !important;
	background: linear-gradient(135deg, var(--rn-red), var(--rn-red-deep)) !important;
	color: var(--rn-white) !important;
	font-weight: 900 !important;
	text-transform: uppercase;
	box-shadow: 0 12px 30px rgba(223, 22, 22, 0.22);
	cursor: pointer;
	transition: 0.25s;
}

.wpcf7 input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 36px rgba(223, 22, 22, 0.35);
}

/* Site Footer */
.site-footer {
	padding-top: 56px;
	border-top: 1px solid var(--rn-line);
	background: #030303;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.25fr 0.7fr 1.05fr;
	gap: 36px;
}

.footer-logo {
	height: 34px;
	width: auto;
	object-fit: contain;
	margin-bottom: 20px;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
	transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.footer-logo:hover {
	transform: scale(1.05);
}

.site-footer h2 {
	margin-bottom: 16px;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--rn-white);
}

.site-footer ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer a {
	color: var(--rn-muted);
	font-size: 0.9rem;
	transition: color 0.2s ease;
}

.site-footer a:hover {
	color: var(--rn-white);
}

.footer-bottom {
	margin-top: 44px;
	padding: 20px 0;
	border-top: 1px solid var(--rn-line);
	text-align: center;
}

.footer-bottom p {
	margin: 0;
	font-size: 0.85rem;
	color: var(--rn-muted);
}

/* Pagination */
.pagination,
.nav-links {
	display: flex;
	gap: 8px;
	margin-top: 34px;
}

.page-numbers,
.nav-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--rn-line);
	border-radius: var(--rn-radius);
	color: var(--rn-white);
	font-weight: 800;
	font-size: 0.85rem;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.page-numbers.current,
.page-numbers:hover,
.nav-links a:hover {
	background: var(--rn-red);
	border-color: var(--rn-red);
}

/* Under Construction Template specifics */
.rn-under-construction-body {
	min-height: 100vh;
}

.rn-under-construction {
	display: grid;
	place-items: center;
	min-height: 100vh;
	padding: 32px;
	background:
		linear-gradient(125deg, rgba(223, 22, 22, 0.16), transparent 38%),
		linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
		linear-gradient(180deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
		linear-gradient(180deg, #050506 0%, #08080a 45%, #050505 100%);
	background-size: auto, 64px 64px, 64px 64px, auto;
}

.rn-under-construction__panel {
	width: min(720px, 100%);
	padding: 44px;
	border: 1px solid var(--rn-line);
	border-radius: var(--rn-radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
	box-shadow: var(--rn-shadow);
	text-align: left;
}

.rn-under-construction__panel img {
	width: 190px;
	margin-bottom: 28px;
}

.rn-under-construction__panel h1 {
	margin-bottom: 18px;
	font-size: clamp(2rem, 5vw, 4rem);
}

.rn-under-construction__panel .lead {
	max-width: 600px;
	margin-bottom: 28px;
}

/* Elementor Global Override rules */
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3 {
	color: var(--rn-white);
	letter-spacing: -0.01em;
}

.elementor-widget-heading.eyebrow,
.elementor-widget.eyebrow .elementor-heading-title,
.rn-page-content .elementor .elementor-widget.eyebrow .elementor-heading-title,
.rn-page-content .elementor .eyebrow .elementor-heading-title,
.rn-page-content .elementor .eyebrow {
	color: var(--rn-red) !important;
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.elementor-widget-text-editor {
	color: var(--rn-white);
}



.rn-home-stats .elementor-counter-number-wrapper {
	color: var(--rn-white);
	font-weight: 900;
	line-height: 1;
}

.rn-home-stats .elementor-counter-title {
	color: var(--rn-muted);
	font-weight: 800;
	text-transform: uppercase;
}

/* Elementor Hero specifics */
.rn-elementor-hero {
	position: relative;
	min-height: calc(100vh - 86px);
	display: grid;
	align-items: center;
	overflow: hidden;
}

.rn-elementor-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.76));
	pointer-events: none;
}

.rn-elementor-hero > .elementor-container {
	position: relative;
	z-index: 2;
	width: min(calc(100% - 40px), var(--rn-container));
	margin-inline: auto;
}

.rn-elementor-hero .elementor-widget-wrap {
	position: relative;
	z-index: 2;
	max-width: 860px;
}

.rn-elementor-hero .elementor-widget-html:empty {
	display: none;
}

.rn-elementor-hero .rn-hero-carousel-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	pointer-events: auto;
}

.rn-elementor-hero .rn-hero-carousel-bg .elementor-widget-container,
.rn-elementor-hero .rn-hero-carousel-bg .elementor-image-carousel-wrapper,
.rn-elementor-hero .rn-hero-carousel-bg .swiper,
.rn-elementor-hero .rn-hero-carousel-bg .swiper-wrapper,
.rn-elementor-hero .rn-hero-carousel-bg .swiper-slide {
	height: 100%;
}

.rn-elementor-hero .rn-hero-carousel-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.58;
	filter: saturate(0.85) contrast(1.08);
}



/* Responsive breakdowns */
@media (max-width: 900px) {
	.rn-header-inner {
		min-height: 74px;
	}

	.menu-toggle {
		display: block;
	}

	.primary-nav {
		position: absolute;
		top: 74px;
		right: 20px;
		left: 20px;
		display: none;
		border: 1px solid var(--rn-line);
		border-radius: var(--rn-radius);
		background: #09090b;
		box-shadow: var(--rn-shadow);
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav .menu {
		display: grid;
		gap: 0;
		padding: 10px;
	}

	.primary-nav a {
		width: 100%;
		justify-content: center;
	}

	.hero,
	.rn-section {
		padding: 64px 0;
	}

	.hero-grid,
	.split-hero,
	.process-grid,
	.footer-grid,
	.contact-grid,
	.single-ratnox_project .wp-block-gallery,
	.single-ratnox_project .gallery,
	.single-ratnox_project .elementor-image-gallery .gallery {
		grid-template-columns: 1fr;
	}

	.hero-grid {
		gap: 32px;
		min-height: auto;
	}

	.hero-mark {
		min-height: 320px;
	}

	.service-grid,
	.portfolio-grid,
	.about-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.section-heading.two-col,
	.cta-inner {
		align-items: start;
		flex-direction: column;
		gap: 16px;
	}


}

@media (max-width: 620px) {
	.rn-container {
		width: min(calc(100% - 28px), var(--rn-container));
	}

	.brand {
		gap: 8px;
		height: 48px;
	}

	.brand-logo-text {
		height: 26px;
	}

	.footer-logo {
		height: 26px;
	}

	h1 {
		font-size: 2.4rem;
	}

	h2 {
		font-size: 1.85rem;
	}

	.service-grid,
	.portfolio-grid,
	.about-grid,
	.single-ratnox_project .wp-block-gallery,
	.single-ratnox_project .gallery,
	.single-ratnox_project .elementor-image-gallery .gallery,
	.ratnox-cf7-grid {
		grid-template-columns: 1fr;
	}


}

/* -----------------------------------------
 * Portfolio Filters
 * ----------------------------------------- */
.portfolio-filters {
	list-style: none;
	padding: 0;
	margin: 24px 0 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.portfolio-filter-btn {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 40px;
	padding: 8px 20px;
	color: var(--rn-muted);
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.is-active {
	background: var(--rn-red);
	border-color: var(--rn-red);
	color: var(--rn-white);
	box-shadow: 0 0 16px var(--rn-red-glow);
}

/* -----------------------------------------
 * 5. lightGallery Overrides
 * ----------------------------------------- */
.lg-backdrop {
	background-color: rgba(5, 5, 5, 0.95) !important;
	backdrop-filter: blur(12px) !important;
}
.lg-toolbar .lg-icon:hover {
	color: var(--rn-red) !important;
}
.lg-actions .lg-next:hover, .lg-actions .lg-prev:hover {
	color: var(--rn-red) !important;
}
.lg-outer .lg-thumb-item.active,
.lg-outer .lg-thumb-item:hover {
	border-color: var(--rn-red) !important;
}
.lg-progress-bar .lg-progress {
	background-color: var(--rn-red) !important;
}
