@import url("https://fonts.googleapis.com/css?family=Raleway:200,700|Source+Sans+Pro:300,600,300italic,600italic");

/*
	Cobra Security Services
	Modern redesign with the existing font stack
*/

:root {
	/* Dark Mode (Default) */
	--navy-900: #050915;
	--navy-800: #0b1628;
	--navy-700: #10243d;
	--navy-600: #163355;
	--card: rgba(255, 255, 255, 0.03);
	--card-strong: rgba(255, 255, 255, 0.06);
	--stroke: rgba(255, 255, 255, 0.12);
	--accent: #f2c14f;
	--accent-soft: rgba(242, 193, 79, 0.16);
	--text: #eaf2ff;
	--muted: #b4c1d8;
	--shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
	--radius-lg: 24px;
	--radius-sm: 12px;
	--bg-gradient: linear-gradient(135deg, #050915 0%, #0a1425 35%, #0c1b30 100%);
	--bg-overlay-1: radial-gradient(circle at 20% 20%, rgba(126, 211, 255, 0.08), transparent 25%);
	--bg-overlay-2: radial-gradient(circle at 80% 0%, rgba(242, 193, 79, 0.12), transparent 28%);
}

[data-theme="light"] {
	/* Light Mode */
	--navy-900: #ffffff;
	--navy-800: #f8f9fa;
	--navy-700: #f1f3f5;
	--navy-600: #e9ecef;
	--card: rgba(0, 0, 0, 0.02);
	--card-strong: rgba(0, 0, 0, 0.04);
	--stroke: rgba(0, 0, 0, 0.1);
	--accent: #2563eb;
	--accent-soft: rgba(37, 99, 235, 0.1);
	--text: #0f172a;
	--muted: #475569;
	--shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	--bg-gradient: linear-gradient(135deg, #ffffff 0%, #f8f9fa 35%, #f1f3f5 100%);
	--bg-overlay-1: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.05), transparent 25%);
	--bg-overlay-2: radial-gradient(circle at 80% 0%, rgba(242, 193, 79, 0.08), transparent 28%);
}

/* Reset & base */

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

html {
	scroll-behavior: smooth;
}

html, body {
	margin: 0;
	padding: 0;
}

body {
	background: var(--bg-overlay-1), var(--bg-overlay-2), var(--bg-gradient);
	color: var(--text);
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.theme-transitioning *,
body.theme-transitioning *::before,
body.theme-transitioning *::after {
	transition: background 0.5s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

body.is-preload *,
body.is-preload *::before,
body.is-preload *::after {
	animation: none !important;
	transition: none !important;
}

/* Animation Classes */
.animate-on-scroll {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate-in {
	opacity: 1;
	transform: translateY(0);
}

/* Keyframe Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-40px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(40px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes scaleIn {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes slideInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

@keyframes float {
	0%, 100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-10px);
	}
}

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

a {
	color: var(--text);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
	color: var(--accent);
	border-color: var(--accent);
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: "Raleway", "Source Sans Pro", sans-serif;
	font-weight: 700;
	color: var(--text);
	margin: 0 0 0.75rem 0;
	line-height: 1.35;
}

h2.major {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
}

h3.major {
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.major {
	letter-spacing: 0.02em;
}

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.28em;
	font-size: 0.75rem;
	color: var(--muted);
	margin-bottom: 0.5rem;
	display: inline-block;
}

/* Layout */

#page-wrapper {
	position: relative;
	padding-top: 5rem;
	transition: opacity 0.3s ease;
}

.inner {
	width: min(1200px, calc(100% - 2.5rem));
	margin: 0 auto;
	padding: 0 1.25rem;
}

@media screen and (max-width: 640px) {
	.inner {
		padding: 0 1rem;
	}
}

/* Buttons */

.button,
input[type="submit"],
input[type="reset"],
input[type="button"],
button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.95rem 1.4rem;
	border-radius: var(--radius-sm);
	border: 1px solid var(--stroke);
	background: var(--card);
	color: var(--text);
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover {
	transform: translateY(-1px);
	border-color: var(--accent);
	color: var(--accent);
}

.button.primary,
input[type="submit"].primary {
	background: linear-gradient(120deg, var(--accent), #ffd977);
	color: #0b1628;
	border-color: transparent;
	box-shadow: 0 12px 30px rgba(242, 193, 79, 0.25);
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

[data-theme="light"] .button.primary,
[data-theme="light"] input[type="submit"].primary {
	background: linear-gradient(120deg, var(--accent), #3b82f6);
	color: #ffffff;
	box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
}

.button.primary::before,
input[type="submit"].primary::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	transform: translate(-50%, -50%);
	transition: width 0.6s ease, height 0.6s ease;
}

.button.primary:hover::before,
input[type="submit"].primary:hover::before {
	width: 300px;
	height: 300px;
}

.button.primary:hover,
input[type="submit"].primary:hover {
	color: #0b1628;
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 16px 40px rgba(242, 193, 79, 0.35);
}

[data-theme="light"] .button.primary:hover,
[data-theme="light"] input[type="submit"].primary:hover {
	color: #ffffff;
	box-shadow: 0 16px 40px rgba(37, 99, 235, 0.4);
}

.button.ghost {
	background: transparent;
	border-color: var(--stroke);
	color: var(--text);
}

.button.icon:before {
	margin-right: 0.5rem;
}

.button.small {
	padding: 0.75rem 1.1rem;
	font-size: 0.8rem;
}

/* Header */

#header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 4.5rem;
	background: rgba(5, 9, 21, 0.55);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--stroke);
	z-index: 1000;
	transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
	transform: translateY(0);
}

[data-theme="light"] #header {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
}

#header .inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 1.5rem;
	height: 100%;
}

#header.scrolled {
	background: rgba(5, 9, 21, 0.85);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] #header.scrolled {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#header h1 {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0;
	padding: 0;
	line-height: 1;
}

#header h1 a {
	color: var(--text);
	border: 0;
	display: flex;
	align-items: center;
	gap: 0.85rem;
	text-decoration: none;
	transition: opacity 0.3s ease;
	line-height: 1;
}

#header h1 a:hover {
	opacity: 0.85;
}

.header-logo {
	height: 38px;
	width: auto;
	display: block;
	object-fit: contain;
	flex-shrink: 0;
	vertical-align: middle;
}

.logo-text {
	white-space: nowrap;
}

@media screen and (max-width: 640px) {
	.logo-text {
		display: none;
	}
	
	.header-logo {
		height: 34px;
	}
}

#header nav > ul {
	list-style: none;
	display: flex;
	gap: 1rem;
	align-items: center;
	margin: 0;
	padding: 0;
}

#header nav > ul > li > a {
	color: var(--muted);
	padding: 0.5rem 0.75rem;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

#header nav > ul > li > a:hover {
	color: var(--text);
	border-color: var(--stroke);
	background: rgba(255, 255, 255, 0.03);
}

#header nav > ul > li.menu-trigger {
	display: none;
}

.theme-toggle-wrapper {
	display: inline-flex;
}

.theme-toggle {
	background: var(--card);
	border: 1px solid var(--stroke);
	border-radius: var(--radius-sm);
	padding: 0.5rem 0.75rem;
	color: var(--text);
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	font-size: 1rem;
}

.theme-toggle:hover {
	background: var(--card-strong);
	border-color: var(--accent);
	color: var(--accent);
	transform: scale(1.1);
}

.theme-toggle:active {
	transform: scale(0.95);
}

#header.alt {
	background: linear-gradient(180deg, rgba(5, 9, 21, 0.05), rgba(5, 9, 21, 0));
	border-color: transparent;
	box-shadow: none;
}

[data-theme="light"] #header.alt {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
}

#header.alt h1 a {
	color: var(--text);
}

/* Menu (mobile) */

#menu {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 20rem;
	max-width: 85%;
	background: rgba(5, 9, 21, 0.95);
	backdrop-filter: blur(14px);
	box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
	transform: translateX(100%);
	transition: transform 0.4s ease, visibility 0.4s ease, background 0.3s ease;
	padding: 1.5rem;
	z-index: 2000;
	visibility: hidden;
	color: var(--text);
}

[data-theme="light"] #menu {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
}

#menu .inner {
	opacity: 1;
}

#menu h2 {
	letter-spacing: 0.2em;
	font-size: 0.9rem;
	margin-bottom: 1rem;
	color: var(--muted);
	text-transform: uppercase;
}

#menu .links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.85rem;
}

#menu .links a {
	color: var(--text);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	border: 0;
	font-weight: 600;
	transition: color 0.3s ease;
}

#menu .links a:hover {
	color: var(--accent);
}

#menu .close {
	display: block;
	text-align: right;
	color: var(--muted);
	border: 0;
	margin-bottom: 1.5rem;
	cursor: pointer;
}

body.is-menu-visible #menu {
	transform: translateX(0);
	visibility: visible;
}

body.is-menu-visible #page-wrapper {
	opacity: 0.3;
}

/* Banner / Hero */

#banner {
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: left;
	padding: 8rem 0 6rem 0;
	overflow: hidden;
}

@media screen and (max-width: 980px) {
	#banner {
		min-height: 85vh;
		padding: 6rem 0 4rem 0;
	}
}

@media screen and (max-width: 640px) {
	#banner {
		min-height: auto;
		padding: 5rem 0 3rem 0;
	}
}

#banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(130deg, rgba(15, 36, 61, 0.6) 0%, rgba(15, 36, 61, 0.2) 35%, rgba(12, 27, 48, 0) 70%),
		linear-gradient(200deg, rgba(242, 193, 79, 0.08) 0%, rgba(12, 27, 48, 0) 55%);
	pointer-events: none;
	animation: float 15s ease-in-out infinite;
	transition: background 0.5s ease;
}

[data-theme="light"] #banner::before {
	background:
		linear-gradient(130deg, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0.05) 35%, transparent 70%),
		linear-gradient(200deg, rgba(242, 193, 79, 0.1) 0%, transparent 55%);
}

#banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: 
		radial-gradient(circle at 30% 40%, rgba(126, 211, 255, 0.1) 0%, transparent 40%),
		radial-gradient(circle at 70% 60%, rgba(242, 193, 79, 0.08) 0%, transparent 40%);
	pointer-events: none;
	animation: pulse 8s ease-in-out infinite;
	opacity: 0.6;
	transition: background 0.5s ease, opacity 0.5s ease;
}

[data-theme="light"] #banner::after {
	background: 
		radial-gradient(circle at 30% 40%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
		radial-gradient(circle at 70% 60%, rgba(242, 193, 79, 0.06) 0%, transparent 40%);
	opacity: 0.4;
}

#banner .inner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	z-index: 1;
}

@media screen and (max-width: 640px) {
	#banner .inner {
		gap: 1.5rem;
	}
}

#banner h2 {
	font-size: clamp(2.2rem, 4vw, 3.4rem);
	margin-bottom: 0.5rem;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

#banner p {
	max-width: 640px;
	font-size: 1.1rem;
	color: var(--muted);
	line-height: 1.7;
	margin-bottom: 0.5rem;
}

.hero-labels {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.hero-labels .pill {
	opacity: 0;
	transform: translateY(-20px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-labels .pill.animate-in {
	opacity: 1;
	transform: translateY(0);
	animation: slideInDown 0.5s ease forwards;
}

#banner h2 {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

#banner h2.animate-in {
	opacity: 1;
	transform: translateY(0);
	animation: fadeInUp 0.8s ease forwards;
}

#banner p {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

#banner p.animate-in {
	opacity: 1;
	transform: translateY(0);
	animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-actions .button {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-actions .button.animate-in {
	opacity: 1;
	transform: translateY(0);
	animation: fadeInUp 0.6s ease forwards;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 0.5rem;
}

@media screen and (max-width: 480px) {
	.hero-actions {
		flex-direction: column;
	}
	
	.hero-actions .button {
		width: 100%;
		justify-content: center;
	}
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	margin-top: 2rem;
}

@media screen and (max-width: 640px) {
	.hero-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
		margin-top: 1.5rem;
	}
}

@media screen and (max-width: 480px) {
	.hero-stats {
		grid-template-columns: 1fr;
	}
}

.stat {
	background: var(--card);
	border: 1px solid var(--stroke);
	border-radius: var(--radius-sm);
	padding: 1rem 1.1rem;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
	opacity: 0;
	transform: scale(0.9);
	transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.stat.animate-in {
	opacity: 1;
	transform: scale(1);
	animation: scaleIn 0.5s ease forwards;
}

.stat:hover {
	transform: scale(1.02);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.stat-number {
	display: block;
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--accent);
	letter-spacing: 0.02em;
	margin-bottom: 0.2rem;
	transition: color 0.3s ease;
}

[data-theme="light"] .stat-number {
	color: var(--accent);
}

.stat-label {
	color: var(--muted);
	font-size: 0.95rem;
}

/* Pills & chips */

.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	border: 1px solid var(--stroke);
	background: var(--card);
	color: var(--muted);
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pill:hover {
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pill-accent {
	background: var(--accent-soft);
	color: var(--text);
	border-color: rgba(242, 193, 79, 0.35);
	box-shadow: 0 0 0 1px rgba(242, 193, 79, 0.15);
}

[data-theme="light"] .pill-accent {
	border-color: rgba(37, 99, 235, 0.3);
	box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.pill-ghost {
	background: rgba(255, 255, 255, 0.03);
	border-style: dashed;
}

.pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 0.6rem;
}

.pill.subtle {
	color: var(--text);
}

.chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1rem;
}

.chip {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--stroke);
	color: var(--muted);
	font-size: 0.85rem;
	transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
}

.chip::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(242, 193, 79, 0.2);
	transform: translate(-50%, -50%);
	transition: width 0.4s ease, height 0.4s ease;
}

.chip:hover::before {
	width: 200px;
	height: 200px;
}

.chip:hover {
	background: rgba(255, 255, 255, 0.09);
	border-color: rgba(242, 193, 79, 0.5);
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 4px 12px rgba(242, 193, 79, 0.2);
	z-index: 1;
}

/* Sections */

.wrapper {
	padding: 5rem 0;
	position: relative;
}

@media screen and (max-width: 980px) {
	.wrapper {
		padding: 4rem 0;
	}
}

@media screen and (max-width: 640px) {
	.wrapper {
		padding: 3rem 0;
	}
}

.wrapper .inner {
	display: grid;
	gap: 2rem;
}

.wrapper.spotlight .inner {
	background: var(--card-strong);
	border: 1px solid var(--stroke);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: 3rem;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	align-items: flex-start;
	gap: 2.5rem;
	position: relative;
	overflow: hidden;
}

.wrapper.spotlight .inner::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(242, 193, 79, 0.05) 0%, transparent 70%);
	animation: float 20s ease-in-out infinite;
	pointer-events: none;
	transition: background 0.5s ease;
}

[data-theme="light"] .wrapper.spotlight .inner::before {
	background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
}

.wrapper.spotlight .content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	position: relative;
	z-index: 1;
}

.wrapper.spotlight .content h2 {
	margin-bottom: 0.5rem;
}

.wrapper.spotlight .content p {
	margin-bottom: 0.75rem;
}

.wrapper.spotlight .content-card {
	position: relative;
	z-index: 1;
}

/* Stagger animations for spotlight sections */
.wrapper.spotlight.style1 .content {
	animation-delay: 0.1s;
}

.wrapper.spotlight.style1 .content-card {
	animation-delay: 0.3s;
}

.wrapper.spotlight.style2 .content-card:first-child {
	animation-delay: 0.1s;
}

.wrapper.spotlight.style2 .content-card:last-child {
	animation-delay: 0.3s;
}

.wrapper.spotlight.style3 .content-card:first-child {
	animation-delay: 0.1s;
}

.wrapper.spotlight.style3 .content-card:last-child {
	animation-delay: 0.3s;
}

@media screen and (max-width: 980px) {
	.wrapper.spotlight .inner {
		padding: 2.5rem;
		gap: 2rem;
	}
}

@media screen and (max-width: 640px) {
	.wrapper.spotlight .inner {
		padding: 2rem;
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

.wrapper.alt {
	background: linear-gradient(160deg, rgba(15, 36, 61, 0.35) 0%, rgba(5, 9, 21, 0) 60%);
	transition: background 0.5s ease;
}

[data-theme="light"] .wrapper.alt {
	background: linear-gradient(160deg, rgba(241, 243, 245, 0.6) 0%, rgba(255, 255, 255, 0) 60%);
}

#wrapper {
	position: relative;
}

#wrapper > .inner {
	margin-bottom: 2rem;
}

#wrapper h2.major {
	text-align: center;
	margin-bottom: 1rem;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

#wrapper h2.major.animate-in {
	opacity: 1;
	transform: translateY(0);
	animation: fadeInUp 0.6s ease forwards;
}

#wrapper > .inner > p {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 2rem auto;
	color: var(--muted);
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

#wrapper > .inner > p.animate-in {
	opacity: 1;
	transform: translateY(0);
	animation: fadeInUp 0.6s ease 0.2s forwards;
}

@media screen and (max-width: 640px) {
	#wrapper > .inner > p {
		text-align: left;
	}
}

.content-card {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--stroke);
	border-radius: var(--radius-lg);
	padding: 2rem;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.3s ease;
	position: relative;
	overflow: hidden;
}

.content-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(242, 193, 79, 0.1), transparent);
	transition: left 0.6s ease;
}

.content-card:hover::before {
	left: 100%;
}

.content-card:hover {
	transform: translateY(-4px) scale(1.01);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.02);
	border-color: rgba(242, 193, 79, 0.3);
}

.content-card.lean {
	padding: 1.75rem;
}

.content-card h3 {
	margin-top: 0.5rem;
	margin-bottom: 0.75rem;
}

@media screen and (max-width: 640px) {
	.content-card {
		padding: 1.5rem;
	}
	
	.content-card.lean {
		padding: 1.25rem;
	}
}

.list-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
	margin-top: 1.25rem;
}

@media screen and (max-width: 640px) {
	.list-grid {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}
}

.list-item {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--stroke);
	border-radius: var(--radius-sm);
	padding: 0.85rem 1rem;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	transition: background 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
}

.list-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--accent);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.3s ease;
}

.list-item:hover::before {
	transform: scaleY(1);
}

.list-item:hover {
	background: rgba(255, 255, 255, 0.06);
	transform: translateX(8px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.list-item i {
	transition: transform 0.3s ease;
}

.list-item:hover i {
	transform: scale(1.2) rotate(5deg);
}

.list-item i {
	color: var(--accent);
}

[data-theme="light"] .list-item i {
	color: var(--accent);
}

.list-tile {
	padding: 1.1rem 1.2rem;
	border-radius: var(--radius-sm);
	border: 1px solid var(--stroke);
	background: rgba(255, 255, 255, 0.03);
	margin-top: 0.75rem;
	transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
	position: relative;
	overflow: hidden;
}

.list-tile::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, var(--accent), transparent);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.4s ease;
}

.list-tile:hover::before {
	transform: scaleY(1);
}

.list-tile:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(242, 193, 79, 0.4);
	transform: translateX(6px) scale(1.01);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.list-tile h3 {
	margin-bottom: 0.4rem;
	font-size: 1.1rem;
	transition: color 0.3s ease;
}

.list-tile:hover h3 {
	color: var(--accent);
}

.list-tile p {
	margin-bottom: 0;
	font-size: 0.95rem;
}

.highlight-list {
	display: grid;
	gap: 0.7rem;
}

.checklist {
	list-style: none;
	padding: 0;
	margin: 1.2rem 0 0 0;
	display: grid;
	gap: 0.75rem;
	color: var(--muted);
}

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	line-height: 1.6;
	opacity: 0;
	transform: translateX(-20px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.checklist li.animate-in {
	opacity: 1;
	transform: translateX(0);
}

.checklist li:nth-child(1) { transition-delay: 0.1s; }
.checklist li:nth-child(2) { transition-delay: 0.2s; }
.checklist li:nth-child(3) { transition-delay: 0.3s; }
.checklist li:nth-child(4) { transition-delay: 0.4s; }
.checklist li:nth-child(5) { transition-delay: 0.5s; }

.checklist i {
	color: var(--accent);
	margin-top: 0.2rem;
	flex-shrink: 0;
	font-size: 0.9rem;
	transition: transform 0.3s ease;
}

.checklist li:hover i {
	transform: scale(1.2) rotate(10deg);
}

[data-theme="light"] .checklist i {
	color: var(--accent);
}

.checklist.tight {
	gap: 0.5rem;
}

/* Services */

.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

@media screen and (max-width: 640px) {
	.features {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		margin-top: 1.5rem;
	}
}

.features article {
	background: var(--card-strong);
	border: 1px solid var(--stroke);
	border-radius: var(--radius-lg);
	padding: 1.75rem 1.5rem;
	box-shadow: var(--shadow);
	position: relative;
	overflow: hidden;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.features article:nth-child(1) {
	animation-delay: 0.1s;
}

.features article:nth-child(2) {
	animation-delay: 0.2s;
}

.features article:nth-child(3) {
	animation-delay: 0.3s;
}

.features article:nth-child(4) {
	animation-delay: 0.4s;
}

.features article::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--accent), transparent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
}

.features article:hover::after {
	transform: scaleX(1);
}

[data-theme="light"] .features article::after {
	background: linear-gradient(90deg, var(--accent), transparent);
}

.features article:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
	border-color: rgba(242, 193, 79, 0.4);
}

@media screen and (max-width: 640px) {
	.features article {
		padding: 1.5rem 1.25rem;
	}
}

.features article::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, rgba(242, 193, 79, 0.06), rgba(255, 255, 255, 0));
	opacity: 0.8;
	pointer-events: none;
	transition: background 0.5s ease;
}

[data-theme="light"] .features article::before {
	background: linear-gradient(160deg, rgba(37, 99, 235, 0.05), rgba(255, 255, 255, 0));
}

.features h3 {
	margin-top: 1rem;
	margin-bottom: 0.5rem;
	font-size: 1.25rem;
}

@media screen and (max-width: 640px) {
	.features h3 {
		font-size: 1.15rem;
	}
}

.features p {
	color: var(--muted);
}

.service-icon {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--accent-soft);
	color: var(--text);
	border: 1px solid rgba(242, 193, 79, 0.35);
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
	position: relative;
}

[data-theme="light"] .service-icon {
	border-color: rgba(37, 99, 235, 0.3);
}

.service-icon::before {
	content: '';
	position: absolute;
	inset: -2px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--accent), transparent);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: -1;
}

.features article:hover .service-icon {
	transform: scale(1.15) rotate(5deg);
	background: rgba(242, 193, 79, 0.3);
	box-shadow: 0 8px 20px rgba(242, 193, 79, 0.3);
}

.features article:hover .service-icon::before {
	opacity: 1;
}

[data-theme="light"] .features article:hover .service-icon {
	background: rgba(37, 99, 235, 0.2);
	box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

[data-theme="light"] .features article:hover .service-icon::before {
	background: linear-gradient(135deg, var(--accent), transparent);
}

@media screen and (max-width: 640px) {
	.service-icon {
		width: 3rem;
		height: 3rem;
		font-size: 1.35rem;
	}
}

/* Form */

form {
	margin-top: 1rem;
}

label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--text);
	margin-bottom: 0.35rem;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select,
textarea {
	width: 100%;
	border: 1px solid var(--stroke);
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text);
	padding: 0.85rem 0.95rem;
	font-family: inherit;
	font-size: 1rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="password"],
[data-theme="light"] input[type="email"],
[data-theme="light"] input[type="tel"],
[data-theme="light"] select,
[data-theme="light"] textarea {
	background: rgba(255, 255, 255, 0.9);
	color: var(--text);
}

textarea {
	min-height: 8rem;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 2px rgba(242, 193, 79, 0.2);
	background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] input:focus,
[data-theme="light"] select:focus,
[data-theme="light"] textarea:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
	background: rgba(255, 255, 255, 0.8);
}

.fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.1rem;
	margin-bottom: 1.25rem;
}

@media screen and (max-width: 640px) {
	.fields {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}

.field.full {
	grid-column: 1 / -1;
}

ul.actions {
	list-style: none;
	display: flex;
	gap: 0.75rem;
	padding: 0;
	margin: 0;
}

ul.actions li {
	margin: 0;
}

.form-message {
	padding: 0.85rem 1rem;
	border-radius: var(--radius-sm);
	margin-top: 0.75rem;
	display: none;
	font-weight: 600;
}

.form-message.success {
	background: rgba(75, 181, 67, 0.15);
	border: 1px solid rgba(75, 181, 67, 0.35);
	color: #9ee59a;
}

.form-message.error {
	background: rgba(242, 38, 19, 0.15);
	border: 1px solid rgba(242, 38, 19, 0.35);
	color: #ff9b85;
}

/* Contact */

#footer {
	background: linear-gradient(180deg, rgba(5, 9, 21, 0.9), #050915);
	border-top: 1px solid var(--stroke);
	padding: 5rem 0 3rem 0;
	transition: background 0.5s ease, border-color 0.3s ease;
}

[data-theme="light"] #footer {
	background: linear-gradient(180deg, rgba(248, 249, 250, 0.95), #ffffff);
}

@media screen and (max-width: 640px) {
	#footer {
		padding: 3.5rem 0 2rem 0;
	}
}

.footer-header {
	text-align: center;
	margin-bottom: 3rem;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.footer-header h2 {
	margin-bottom: 1rem;
}

.footer-header p {
	color: var(--muted);
	font-size: 1.1rem;
}

.contact-info-section {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	max-width: 900px;
	margin: 0 auto 3rem auto;
}

.contact-details-card {
	background: var(--card-strong);
	border: 1px solid var(--stroke);
	border-radius: var(--radius-lg);
	padding: 2.5rem;
	box-shadow: var(--shadow);
	text-align: center;
}

.contact-details-card h3 {
	margin-bottom: 0.75rem;
}

.contact-intro {
	color: var(--muted);
	margin-bottom: 2rem;
	font-size: 1rem;
}

.contact-form-card {
	background: var(--card-strong);
	border: 1px solid var(--stroke);
	border-radius: var(--radius-lg);
	padding: 2.5rem;
	box-shadow: var(--shadow);
}

.contact-form-card h3 {
	margin-bottom: 0.75rem;
}

.contact-form-card > p {
	color: var(--muted);
	margin-bottom: 1.5rem;
	font-size: 1rem;
}

@media screen and (min-width: 768px) {
	.contact-info-section {
		flex-direction: row;
		align-items: flex-start;
		max-width: 1100px;
	}
	
	.contact-details-card {
		flex: 0 0 380px;
		text-align: left;
	}
	
	.contact-form-card {
		flex: 1;
	}
}

@media screen and (max-width: 640px) {
	.contact-info-section {
		gap: 1.5rem;
		margin-bottom: 2rem;
	}
	
	.contact-details-card,
	.contact-form-card {
		padding: 1.75rem;
	}
	
	.footer-header {
		margin-bottom: 2rem;
	}
	
	.footer-header p {
		font-size: 1rem;
	}
}


.contact-details .contact {
	margin-top: 1rem;
}

ul.contact {
	list-style: none;
	padding: 0;
	margin: 1rem 0 0 0;
	display: grid;
	gap: 0.85rem;
	color: var(--muted);
}

ul.contact li {
	position: relative;
	padding-left: 2.3rem;
	line-height: 1.5;
}

ul.contact li:before {
	position: absolute;
	left: 0;
	top: 0.15rem;
	color: var(--accent);
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
}

ul.contact li.icon.solid.fa-home:before { content: '\f015'; }
ul.contact li.icon.solid.fa-phone:before { content: '\f095'; }
ul.contact li.icon.solid.fa-envelope:before { content: '\f0e0'; }
ul.contact li.icon.brands.fa-whatsapp:before { content: '\f232'; }
ul.contact li.icon.brands:before {
	font-family: 'Font Awesome 6 Brands';
	font-weight: 400;
}

[data-theme="light"] ul.contact li:before {
	color: var(--accent);
}

.download-section {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--stroke);
}

.download-section h4 {
	margin-bottom: 0.5rem;
}

#footer .copyright {
	list-style: none;
	padding: 0;
	margin: 2rem 0 0 0;
	text-align: center;
	color: var(--muted);
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	border-top: 1px solid var(--stroke);
	padding-top: 1.2rem;
}

#footer .copyright li {
	display: inline;
}

/* Helper text styles */

header p {
	color: var(--muted);
}

/* Responsive */

@media screen and (max-width: 980px) {
	#header nav > ul > li.menu-trigger {
		display: inline-flex;
	}

	#header nav > ul > li:not(.menu-trigger):not(.theme-toggle-wrapper) {
		display: none;
	}
	
	.theme-toggle-wrapper {
		display: inline-flex;
	}

	#header .inner {
		padding: 0 1rem;
	}

	#page-wrapper {
		padding-top: 4.2rem;
	}

	.inner {
		padding: 0 1rem;
	}
}

@media screen and (max-width: 640px) {
	body {
		font-size: 15px;
	}

	#header {
		height: 4rem;
	}

	#header .inner {
		padding: 0 0.75rem;
	}

	.header-logo {
		height: 32px;
	}

	#header h1 {
		font-size: 0.9rem;
		gap: 0.6rem;
	}
	
	.logo-text {
		font-size: 0.85rem;
	}

	#banner h2 {
		font-size: clamp(1.9rem, 8vw, 2.6rem);
		line-height: 1.2;
	}

	#banner p {
		font-size: 1rem;
	}

	.wrapper.spotlight .inner {
		padding: 2rem;
	}

	.content {
		margin-bottom: 1.5rem;
	}

	.checklist {
		margin-top: 1rem;
	}

	.chip-row {
		margin-top: 0.75rem;
	}

	.pill-row {
		margin-top: 0.75rem;
	}
}

@media screen and (max-width: 480px) {
	.inner {
		padding: 0 0.75rem;
	}

	#header .inner {
		padding: 0 0.75rem;
	}

	.logo-text {
		display: none;
	}
	
	.header-logo {
		height: 30px;
	}

	#banner {
		padding: 4rem 0 2.5rem 0;
	}

	#banner h2 {
		font-size: 1.75rem;
	}

	#banner p {
		font-size: 0.95rem;
	}

	.hero-labels {
		gap: 0.5rem;
	}

	.hero-labels .pill {
		font-size: 0.75rem;
		padding: 0.35rem 0.7rem;
	}

	.wrapper {
		padding: 2.5rem 0;
	}

	.wrapper.spotlight .inner {
		padding: 1.5rem;
	}

	.content-card {
		padding: 1.25rem;
	}

	.features article {
		padding: 1.25rem;
	}

	.contact-card {
		padding: 1.25rem;
	}

	ul.actions {
		flex-direction: column;
	}

	ul.actions li {
		width: 100%;
	}

	ul.actions .button,
	ul.actions input[type="submit"] {
		width: 100%;
	}

	.stat {
		padding: 0.85rem 1rem;
	}

	.stat-number {
		font-size: 1.2rem;
	}

	.stat-label {
		font-size: 0.85rem;
	}
}
