@charset "utf-8";
/*
   RcZun Technologies — main stylesheet
   Layout based on TemplateMo 610 Aurum Gold (https://templatemo.com/tm-610-aurum-gold)
*/

:root {
	--red: #F20D0D;
	--red-light: #FF3A3A;
	--red-dark: #A80909;
	--gray: #6F7378;
	--bg-dark: #090909;
	--bg-card: #111111;
	--bg-card-hover: #171717;
	--text-primary: #F5F5F5;
	--text-secondary: #A9ADB2;
	--text-muted: #6F7378;
	--border-color: #222222;
	--success: #2FBF71;
	--font-heading: 'Saira', 'Segoe UI', system-ui, sans-serif;
	--font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	background-color: var(--bg-dark);
	color: var(--text-primary);
	line-height: 1.7;
	font-weight: 300;
	overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	opacity: 0.03;
	z-index: 9999;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0.01em;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}

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

.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

.accent {
	color: var(--red);
}

/* Navigation */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 18px 0;
	transition: all 0.4s ease;
}

.nav.scrolled {
	background: rgba(9, 9, 9, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	padding: 10px 0;
	border-bottom: 1px solid var(--border-color);
}

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

.logo {
	display: inline-flex;
	align-items: center;
}

.logo img {
	height: 46px;
	width: auto;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 36px;
	list-style: none;
}

.nav-links a {
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-secondary);
	position: relative;
	padding: 8px 0;
	transition: color 0.4s ease;
}

.nav-links a::before {
	content: '―';
	position: absolute;
	left: -20px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--red);
	font-size: 10px;
	opacity: 0;
	transition: opacity 0.3s ease, left 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
	color: var(--text-primary);
}

.nav-links a:hover::before,
.nav-links a.active::before {
	opacity: 1;
	left: -16px;
}

.nav-cta {
	display: flex;
	align-items: center;
	gap: 16px;
}

/* Mobile Menu */
.mobile-menu {
	position: fixed;
	top: 0;
	right: -100%;
	width: 100%;
	max-width: 400px;
	height: 100vh;
	background: var(--bg-card);
	z-index: 2000;
	padding: 100px 40px 40px;
	transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-left: 1px solid var(--border-color);
	overflow-y: auto;
}

.mobile-menu.open {
	right: 0;
}

.mobile-menu-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu-overlay.open {
	opacity: 1;
	visibility: visible;
}

.mobile-menu-close {
	position: absolute;
	top: 24px;
	right: 24px;
	width: 48px;
	height: 48px;
	background: none;
	border: 1px solid var(--border-color);
	color: var(--text-secondary);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.mobile-menu-close:hover {
	border-color: var(--red);
	color: var(--red);
}

.mobile-nav-links {
	list-style: none;
	margin-bottom: 40px;
}

.mobile-nav-links li {
	border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links a {
	display: block;
	padding: 18px 0;
	font-family: var(--font-heading);
	font-size: 22px;
	color: var(--text-secondary);
	transition: all 0.3s ease;
	position: relative;
}

.mobile-nav-links a::after {
	content: '→';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%) translateX(-10px);
	opacity: 0;
	color: var(--red);
	transition: all 0.3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
	color: var(--text-primary);
	padding-left: 12px;
}

.mobile-nav-links a:hover::after,
.mobile-nav-links a.active::after {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}

.mobile-menu-cta {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mobile-menu-cta .btn {
	width: 100%;
	text-align: center;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 30px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: var(--font-body);
	white-space: nowrap;
}

.btn-outline {
	background: transparent;
	border: 1px solid var(--gray);
	color: var(--text-primary);
}

.btn-outline:hover {
	border-color: var(--red);
	background: var(--red);
	color: #fff;
}

.btn-primary {
	background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
	color: #fff;
	border: 1px solid var(--red);
}

.btn-primary:hover {
	background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(242, 13, 13, 0.3);
}

.mobile-menu-btn {
	display: none;
	flex-direction: column;
	gap: 6px;
	background: none;
	border: 1px solid var(--border-color);
	cursor: pointer;
	padding: 12px;
	transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
	border-color: var(--red);
}

.mobile-menu-btn span {
	width: 20px;
	height: 1.5px;
	background: var(--text-primary);
	transition: all 0.3s ease;
	transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
	opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

body.menu-open {
	overflow: hidden;
}

/* Hero Section */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	padding: 130px 0 80px;
	overflow: hidden;
}

/* Subtle engineering grid */
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(111, 115, 120, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(111, 115, 120, 0.07) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
	mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
	pointer-events: none;
}

.hero::after {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 80%;
	height: 150%;
	background: radial-gradient(ellipse at center, rgba(242, 13, 13, 0.09) 0%, transparent 60%);
	pointer-events: none;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 80px;
	align-items: center;
	position: relative;
	z-index: 2;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 20px;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	margin-bottom: 32px;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-secondary);
}

.hero-badge .dot {
	width: 8px;
	height: 8px;
	background: var(--red);
	border-radius: 50%;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.4; }
}

.hero-title {
	font-size: clamp(42px, 5.4vw, 74px);
	color: var(--text-primary);
	margin-bottom: 24px;
	font-weight: 300;
}

.hero-title .accent {
	font-weight: 500;
}

.hero-desc {
	font-size: 18px;
	color: var(--text-secondary);
	max-width: 520px;
	margin-bottom: 40px;
	line-height: 1.8;
}

.hero-actions {
	display: flex;
	gap: 16px;
	margin-bottom: 60px;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	padding-top: 40px;
	border-top: 1px solid var(--border-color);
}

.stat-value {
	font-family: var(--font-heading);
	font-size: 38px;
	font-weight: 400;
	color: var(--text-primary);
	margin-bottom: 4px;
	line-height: 1.2;
}

.stat-value span {
	color: var(--red);
}

.stat-label {
	font-size: 12px;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

/* Hero code card */
.hero-visual {
	position: relative;
}

.code-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	padding: 36px;
	position: relative;
}

.code-card::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 40px;
	right: 40px;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.code-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.code-dots {
	display: flex;
	gap: 8px;
	align-items: center;
}

.code-dots i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--border-color);
}

.code-dots i:first-child {
	background: var(--red);
}

.code-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--text-muted);
	margin-left: 12px;
}

.code-live {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	color: var(--success);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.code-live::before {
	content: '';
	width: 6px;
	height: 6px;
	background: var(--success);
	border-radius: 50%;
	animation: pulse 1.5s infinite;
}

.code-block {
	font-family: 'Cascadia Code', 'Consolas', 'SFMono-Regular', Menlo, monospace;
	font-size: 14px;
	line-height: 1.9;
	color: var(--text-secondary);
	background: var(--bg-dark);
	border: 1px solid var(--border-color);
	padding: 24px;
	margin-bottom: 28px;
	overflow-x: auto;
	white-space: pre;
}

.code-block .k { color: var(--red); }
.code-block .f { color: #F5F5F5; }
.code-block .s { color: #C9CCD1; }
.code-block .c { color: var(--gray); font-style: italic; }
.code-block .ok { color: var(--success); }

.code-cursor {
	display: inline-block;
	width: 8px;
	height: 16px;
	background: var(--red);
	vertical-align: middle;
	animation: blink 1s steps(1) infinite;
}

@keyframes blink {
	50% { opacity: 0; }
}

.code-metrics {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.metric-item {
	padding: 18px 20px;
	background: var(--bg-dark);
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
}

.metric-item:hover {
	border-color: var(--red);
}

.metric-name {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-muted);
	margin-bottom: 6px;
}

.metric-value {
	font-family: var(--font-heading);
	font-size: 22px;
	color: var(--text-primary);
}

.metric-note {
	font-size: 12px;
	color: var(--success);
	margin-top: 2px;
}

/* Section Styles */
section {
	padding: 120px 0;
	scroll-margin-top: 60px;
}

.section-header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 72px;
}

.section-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--red);
	margin-bottom: 16px;
	font-weight: 500;
}

.section-title {
	font-size: clamp(34px, 4vw, 50px);
	color: var(--text-primary);
	margin-bottom: 20px;
	font-weight: 300;
}

.section-desc {
	font-size: 16px;
	color: var(--text-secondary);
	line-height: 1.8;
}

/* Services Section */
.services {
	background: var(--bg-card);
	position: relative;
}

.services::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.service-card {
	padding: 48px 32px;
	background: var(--bg-dark);
	border: 1px solid var(--border-color);
	text-align: center;
	transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--red);
	transform: scaleX(0);
	transition: transform 0.4s ease;
}

.service-card:hover {
	transform: translateY(-8px);
	border-color: var(--red-dark);
	background: var(--bg-card-hover);
}

.service-card:hover::before {
	transform: scaleX(1);
}

.service-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--gray);
	color: var(--red);
	transition: all 0.4s ease;
}

.service-card:hover .service-icon {
	background: var(--red);
	color: #fff;
	border-color: var(--red);
}

.service-title {
	font-size: 22px;
	color: var(--text-primary);
	margin-bottom: 16px;
}

.service-desc {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.7;
}

/* Why Us Section */
.why-us {
	position: relative;
}

.why-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.why-content {
	padding-right: 40px;
}

.why-list {
	list-style: none;
	margin-top: 40px;
}

.why-item {
	display: flex;
	gap: 20px;
	padding: 24px 0;
	border-bottom: 1px solid var(--border-color);
}

.why-item:last-child {
	border-bottom: none;
}

.why-number {
	font-family: var(--font-heading);
	font-size: 30px;
	font-weight: 300;
	color: var(--red);
	line-height: 1;
	min-width: 44px;
}

.why-text h4 {
	font-size: 20px;
	color: var(--text-primary);
	margin-bottom: 8px;
	font-weight: 500;
}

.why-text p {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.7;
}

.why-image-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 12px;
}

.why-thumb {
	aspect-ratio: 1;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	overflow: hidden;
	position: relative;
	transition: all 0.4s ease;
}

.why-thumb::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(242, 13, 13, 0.18) 0%, transparent 60%);
	z-index: 1;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.why-thumb:hover {
	border-color: var(--red-dark);
	transform: scale(1.02);
	z-index: 2;
}

.why-thumb:hover::before {
	opacity: 1;
}

.why-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(35%);
	transition: transform 0.6s ease, filter 0.6s ease;
}

.why-thumb:hover img {
	transform: scale(1.08);
	filter: grayscale(0%);
}

.why-thumb:nth-child(1) {
	grid-column: span 2;
	grid-row: span 2;
}

/* Solutions Section (tabs) */
.solutions {
	background: var(--bg-card);
}

.solutions-tabs {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-bottom: 60px;
}

.tab-btn {
	padding: 14px 30px;
	background: transparent;
	border: 1px solid var(--border-color);
	color: var(--text-secondary);
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.3s ease;
}

.tab-btn:hover {
	border-color: var(--gray);
	color: var(--text-primary);
}

.tab-btn.active {
	background: var(--red);
	border-color: var(--red);
	color: #fff;
}

.solutions-tab-content {
	display: none;
}

.solutions-tab-content.active {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	animation: fadeInUp 0.5s ease;
}

.solution-card {
	background: var(--bg-dark);
	border: 1px solid var(--border-color);
	overflow: hidden;
	transition: all 0.4s ease;
	display: flex;
	flex-direction: column;
}

.solution-card:hover {
	border-color: var(--red-dark);
	transform: translateY(-4px);
}

.solution-image {
	aspect-ratio: 4 / 3;
	background: linear-gradient(180deg, #1A1A1A 0%, #111111 100%);
	position: relative;
	overflow: hidden;
}

.solution-image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(9, 9, 9, 0.6) 100%);
	pointer-events: none;
}

.solution-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.solution-card:hover .solution-image img {
	transform: scale(1.05);
}

.solution-info {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.solution-name {
	font-size: 20px;
	font-weight: 500;
	color: var(--text-primary);
	margin-bottom: 4px;
}

.solution-meta {
	font-size: 12px;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 16px;
}

.solution-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}

.solution-stack {
	font-size: 13px;
	color: var(--text-secondary);
}

.solution-btn {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--border-color);
	color: var(--text-secondary);
	font-size: 18px;
	transition: all 0.3s ease;
}

.solution-btn:hover {
	background: var(--red);
	border-color: var(--red);
	color: #fff;
}

/* Costa Rica / Sustainability Section */
.costa-rica {
	position: relative;
	overflow: hidden;
}

.cr-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.cr-gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.cr-photo {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--border-color);
	background: var(--bg-card);
}

.cr-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.cr-photo:hover img {
	transform: scale(1.05);
}

.cr-photo.main {
	grid-column: span 2;
	aspect-ratio: 16 / 10;
}

.cr-photo.small {
	aspect-ratio: 4 / 3;
}

.cr-photo figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 40px 20px 16px;
	font-size: 11px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--text-primary);
	background: linear-gradient(180deg, transparent, rgba(9, 9, 9, 0.85));
}

.cr-photo figcaption::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 1px;
	background: var(--red);
	vertical-align: middle;
	margin-right: 10px;
}

.cr-content p.lead {
	font-size: 16px;
	color: var(--text-secondary);
	line-height: 1.8;
	margin-bottom: 36px;
}

.cr-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-bottom: 36px;
}

.cr-stat {
	padding: 22px 24px;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	position: relative;
	transition: border-color 0.3s ease;
}

.cr-stat:hover {
	border-color: var(--red-dark);
}

.cr-stat-value {
	font-family: var(--font-heading);
	font-size: 34px;
	font-weight: 400;
	color: var(--text-primary);
	line-height: 1.1;
	margin-bottom: 6px;
}

.cr-stat-value span {
	color: var(--red);
}

.cr-stat-label {
	font-size: 13px;
	color: var(--text-secondary);
	line-height: 1.5;
}

.cr-list {
	list-style: none;
}

.cr-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-size: 15px;
	color: var(--text-secondary);
	padding: 10px 0;
}

.cr-list svg {
	flex-shrink: 0;
	color: var(--red);
	margin-top: 4px;
}

.cr-footnote {
	font-size: 12px;
	color: var(--text-muted);
	margin-top: 20px;
}

/* Testimonials */
.testimonials {
	position: relative;
	overflow: hidden;
	background: var(--bg-card);
}

.testimonials::before {
	content: '"';
	position: absolute;
	top: 60px;
	left: 10%;
	font-family: Georgia, serif;
	font-size: 400px;
	color: var(--red);
	opacity: 0.05;
	line-height: 1;
	pointer-events: none;
}

.testimonials-wrapper {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
}

.testimonials-slider {
	text-align: center;
	overflow: hidden;
}

.testimonials-track {
	display: flex;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-item {
	min-width: 100%;
	padding: 0 60px;
}

.testimonial-text {
	font-family: var(--font-heading);
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 300;
	color: var(--text-primary);
	line-height: 1.6;
	margin-bottom: 40px;
}

.testimonial-author {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.author-name {
	font-size: 16px;
	font-weight: 500;
	color: var(--text-primary);
	letter-spacing: 0.05em;
}

.author-title {
	font-size: 13px;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.testimonial-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}

.testimonial-arrow {
	width: 56px;
	height: 56px;
	background: transparent;
	border: 1px solid var(--border-color);
	color: var(--text-muted);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: auto;
	transition: all 0.3s ease;
	opacity: 0.6;
}

.testimonial-arrow:hover {
	opacity: 1;
	border-color: var(--red);
	color: var(--red);
	background: rgba(242, 13, 13, 0.08);
}

.testimonial-arrow svg {
	width: 20px;
	height: 20px;
}

.testimonial-arrow.prev {
	margin-left: -80px;
}

.testimonial-arrow.next {
	margin-right: -80px;
}

.testimonial-dots {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 48px;
}

.dot {
	width: 8px;
	height: 8px;
	background: var(--border-color);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: all 0.3s ease;
}

.dot:hover {
	background: var(--text-muted);
}

.dot.active {
	background: var(--red);
	width: 32px;
}

/* Tech / Trust Section */
.trust {
	padding: 64px 0;
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
}

.trust-heading {
	text-align: center;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--text-muted);
	margin-bottom: 36px;
}

.trust-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 32px;
	align-items: center;
}

.trust-item {
	text-align: center;
	opacity: 0.55;
	transition: opacity 0.3s ease, color 0.3s ease;
	font-family: var(--font-heading);
	font-size: 19px;
	color: var(--text-secondary);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.trust-item:hover {
	opacity: 1;
	color: var(--text-primary);
}

/* CTA Section */
.cta {
	position: relative;
	background: linear-gradient(135deg, rgba(242, 13, 13, 0.1) 0%, transparent 50%);
}

.cta-inner {
	text-align: center;
	max-width: 720px;
	margin: 0 auto;
}

.cta-title {
	font-size: clamp(34px, 4vw, 54px);
	color: var(--text-primary);
	margin-bottom: 24px;
	font-weight: 300;
}

.cta-title .accent {
	font-weight: 500;
}

.cta-desc {
	font-size: 18px;
	color: var(--text-secondary);
	margin-bottom: 40px;
	line-height: 1.8;
}

.cta-actions {
	display: flex;
	justify-content: center;
	gap: 16px;
}

/* Contact Section */
.contact {
	background: var(--bg-card);
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 80px;
}

.contact-info h3 {
	font-size: 32px;
	font-weight: 300;
	color: var(--text-primary);
	margin-bottom: 24px;
}

.contact-info > p {
	font-size: 16px;
	color: var(--text-secondary);
	margin-bottom: 40px;
	line-height: 1.8;
}

.contact-details {
	list-style: none;
}

.contact-details li {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--border-color);
}

.contact-details li:last-child {
	border-bottom: none;
}

.contact-icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-dark);
	border: 1px solid var(--border-color);
	color: var(--red);
	flex-shrink: 0;
}

.contact-text {
	padding-top: 2px;
}

.contact-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-muted);
	margin-bottom: 4px;
}

.contact-value {
	font-size: 16px;
	color: var(--text-primary);
}

.contact-value a:hover {
	color: var(--red);
}

/* Contact Form */
.contact-form {
	background: var(--bg-dark);
	border: 1px solid var(--border-color);
	padding: 48px;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 24px;
}

.form-group {
	margin-bottom: 24px;
}

.form-row .form-group {
	margin-bottom: 0;
}

.form-label {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-muted);
	margin-bottom: 10px;
}

.form-input,
.form-select,
.form-textarea {
	width: 100%;
	padding: 16px 20px;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	color: var(--text-primary);
	font-family: var(--font-body);
	font-size: 15px;
	border-radius: 0;
	transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
	outline: none;
	border-color: var(--red);
	background: var(--bg-card-hover);
}

.form-input::placeholder,
.form-textarea::placeholder {
	color: var(--text-muted);
}

.form-select {
	appearance: none;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236F7378' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}

.form-select option {
	background: var(--bg-card);
}

.form-textarea {
	min-height: 140px;
	resize: vertical;
}

.form-submit {
	width: 100%;
	margin-top: 8px;
}

.form-submit:disabled {
	opacity: 0.6;
	cursor: wait;
	transform: none;
	box-shadow: none;
}

.form-note {
	font-size: 12px;
	color: var(--text-muted);
	margin-top: 14px;
	text-align: center;
}

.form-status {
	margin-top: 16px;
	padding: 14px 18px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-primary);
	border: 1px solid var(--border-color);
	border-left-width: 3px;
}

.form-status[hidden] {
	display: none;
}

.form-status.success {
	border-color: var(--success);
	background: rgba(47, 191, 113, 0.08);
}

.form-status.error {
	border-color: var(--red);
	background: rgba(242, 13, 13, 0.08);
}

/* "I'm not a robot" widget (Google reCAPTCHA is a fixed 304 x 78 px) */
.form-captcha {
	min-height: 78px;
	margin-bottom: 24px;
}

@media (max-width: 420px) {
	.contact-form {
		padding: 20px;
	}
}

@media (max-width: 370px) {
	.form-captcha .g-recaptcha {
		transform: scale(0.88);
		transform-origin: 0 0;
	}

	.form-captcha {
		min-height: 69px;
	}
}

/* Honeypot field: hidden from people, visible to spam bots */
.form-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Footer */
.footer {
	background: var(--bg-dark);
	padding: 80px 0 40px;
	border-top: 1px solid var(--border-color);
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 60px;
	margin-bottom: 60px;
}

.footer-brand .logo {
	margin-bottom: 20px;
}

.footer-brand .logo img {
	height: 56px;
}

.footer-brand p {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.8;
	max-width: 380px;
}

.footer-title {
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-primary);
	margin-bottom: 24px;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links a {
	font-size: 14px;
	color: var(--text-secondary);
	transition: all 0.3s ease;
}

.footer-links a:hover {
	color: var(--red);
	padding-left: 8px;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 40px;
	border-top: 1px solid var(--border-color);
}

.footer-copy {
	font-size: 13px;
	color: var(--text-muted);
}

.footer-copy .accent {
	color: var(--red);
}

.footer-socials {
	display: flex;
	gap: 16px;
}

.social-link {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--border-color);
	color: var(--text-secondary);
	transition: all 0.3s ease;
}

.social-link:hover {
	border-color: var(--red);
	color: var(--red);
	background: rgba(242, 13, 13, 0.08);
}

/* Scroll reveal (only hidden when JavaScript is running) */
.js .reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .reveal.visible {
	opacity: 1;
	transform: none;
}

@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { animation: none !important; }
}

/* Responsive */
@media (max-width: 1200px) {
	.services-grid,
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.solutions-tab-content.active {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}

	.nav-links {
		gap: 26px;
	}

	.nav-cta .btn-outline {
		display: none;
	}
}

@media (max-width: 992px) {
	.nav-links,
	.nav-cta {
		display: none;
	}

	.mobile-menu-btn {
		display: flex;
	}

	.hero-grid,
	.why-grid,
	.cr-grid,
	.contact-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 60px;
	}

	.why-content {
		padding-right: 0;
	}

	.trust-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 900px) {
	.solutions-tab-content.active {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

@media (max-width: 768px) {
	section {
		padding: 80px 0;
	}

	.hero {
		padding: 110px 0 60px;
	}

	.hero-stats {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.stat-item {
		display: flex;
		align-items: center;
		gap: 16px;
	}

	.stat-value {
		font-size: 28px;
		margin-bottom: 0;
		min-width: 90px;
	}

	.code-card {
		padding: 24px;
	}

	.code-block {
		font-size: 12.5px;
		padding: 18px;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.contact-form {
		padding: 28px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

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

	.trust-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hero-actions,
	.cta-actions {
		flex-direction: column;
	}

	.btn {
		width: 100%;
	}

	.solutions-tabs {
		flex-wrap: wrap;
	}

	.tab-btn {
		padding: 12px 18px;
	}

	.testimonial-nav {
		display: none;
	}

	.testimonial-item {
		padding: 0 8px;
	}
}

@media (max-width: 600px) {
	.services-grid,
	.cr-stats {
		grid-template-columns: 1fr;
	}

	.why-image-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: auto;
		gap: 8px;
	}

	/* 5 tiles balance the 2-column grid; the 6th is for desktop only */
	.why-thumb:nth-child(6) {
		display: none;
	}

	.testimonials::before {
		font-size: 200px;
		top: 40px;
		left: 4%;
	}

	.code-metrics {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.metric-item {
		padding: 14px;
	}

	.logo img {
		height: 38px;
	}
}

@media (max-width: 480px) {
	.solutions-tab-content.active {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 769px) and (max-width: 1100px) {
	.testimonial-arrow.prev {
		margin-left: -20px;
	}

	.testimonial-arrow.next {
		margin-right: -20px;
	}
}
