/* ============================================
   NuSecuritas — Custom Styles
   Loaded after Bootstrap 5.3 to override defaults
   ============================================ */

/* --- CSS Custom Properties & Bootstrap Overrides --- */
:root {
	--bs-primary-rgb: 184, 150, 90;
	--bs-dark-rgb: 11, 29, 58;

	--ivory: #FAF8F5;
	--white: #FFFFFF;
	--navy: #0B1D3A;
	--navy-90: rgba(11, 29, 58, 0.9);
	--forest: #1A3A2A;
	--gold: #B8965A;
	--gold-light: #D4B87A;
	--gold-subtle: rgba(184, 150, 90, 0.12);
	--slate: #4A5568;
	--slate-light: #718096;
	--border: #E2DDD5;
	--border-light: #F0EDE8;
	--shadow-sm: 0 1px 3px rgba(11, 29, 58, 0.06);
	--shadow-md: 0 4px 16px rgba(11, 29, 58, 0.08);
	--shadow-lg: 0 8px 32px rgba(11, 29, 58, 0.12);
	--radius: 4px;
	--radius-lg: 8px;
	--transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Styles --- */
body {
	font-family: 'Outfit', sans-serif;
	color: var(--slate);
	background-color: var(--ivory);
	font-size: 1rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
	font-family: 'Cormorant Garamond', serif;
	color: var(--navy);
	font-weight: 600;
	line-height: 1.2;
}

h1, .display-4 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2, .display-5 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
h4 { font-size: clamp(1.15rem, 2.5vw, 1.35rem); }

p { margin-bottom: 1.25rem; }

a {
	color: var(--gold);
	text-decoration: none;
	transition: color var(--transition);
}
a:hover {
	color: var(--gold-light);
}

/* --- Label (Section Eyebrow Text) --- */
.label {
	font-family: 'Outfit', sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	margin-bottom: 0.75rem;
	display: block;
}

/* --- Custom Background Utilities --- */
.bg-ivory {
	background-color: var(--ivory);
}

/* --- Navbar --- */
.navbar-nu {
	background-color: var(--white);
	border-bottom: 1px solid var(--border);
	padding: 0.85rem 0;
	transition: box-shadow var(--transition), padding var(--transition);
}
.navbar-nu.scrolled {
	box-shadow: var(--shadow-md);
	padding: 0.6rem 0;
}
.navbar-nu .navbar-brand {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--navy);
	letter-spacing: 0.02em;
}
.navbar-nu .navbar-brand span {
	color: var(--gold);
}
.navbar-nu .nav-link {
	font-family: 'Outfit', sans-serif;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--slate);
	letter-spacing: 0.03em;
	padding: 0.5rem 1rem;
	transition: color var(--transition);
}
.navbar-nu .nav-link:hover,
.navbar-nu .nav-link.active {
	color: var(--navy);
}
.navbar-nu .nav-link.active {
	position: relative;
}
.navbar-nu .nav-link.active::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 1rem;
	right: 1rem;
	height: 2px;
	background-color: var(--gold);
}
.navbar-nu .btn-nav-cta {
	font-family: 'Outfit', sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	background-color: var(--navy);
	color: var(--white);
	border: none;
	padding: 0.5rem 1.25rem;
	border-radius: var(--radius);
	transition: background-color var(--transition), transform var(--transition);
}
.navbar-nu .btn-nav-cta:hover {
	background-color: var(--forest);
	transform: translateY(-1px);
}

/* --- Buttons --- */
.btn-gold {
	background-color: var(--gold);
	color: var(--white);
	border: none;
	font-family: 'Outfit', sans-serif;
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.03em;
	padding: 0.75rem 2rem;
	border-radius: var(--radius);
	transition: all var(--transition);
}
.btn-gold:hover {
	background-color: var(--gold-light);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.btn-navy {
	background-color: var(--navy);
	color: var(--white);
	border: none;
	font-family: 'Outfit', sans-serif;
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.03em;
	padding: 0.75rem 2rem;
	border-radius: var(--radius);
	transition: all var(--transition);
}
.btn-navy:hover {
	background-color: var(--forest);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.btn-outline-gold {
	background-color: transparent;
	color: var(--gold);
	border: 2px solid var(--gold);
	font-family: 'Outfit', sans-serif;
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.03em;
	padding: 0.65rem 2rem;
	border-radius: var(--radius);
	transition: all var(--transition);
}
.btn-outline-gold:hover {
	background-color: var(--gold);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

/* --- Hero Section --- */
.hero {
	position: relative;
	background-color: var(--navy);
	color: var(--white);
	padding: 8rem 0 6rem;
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background:
		radial-gradient(ellipse at 20% 50%, rgba(184, 150, 90, 0.08) 0%, transparent 60%),
		radial-gradient(ellipse at 80% 20%, rgba(26, 58, 42, 0.15) 0%, transparent 50%);
	pointer-events: none;
}
.hero .geometric-pattern {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 40%;
	opacity: 0.04;
	background-image:
		repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,0.5) 30px, rgba(255,255,255,0.5) 31px),
		repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(255,255,255,0.5) 30px, rgba(255,255,255,0.5) 31px);
	pointer-events: none;
}
.hero h1 {
	color: var(--white);
	font-weight: 700;
	margin-bottom: 1.25rem;
}
.hero .lead {
	color: rgba(255, 255, 255, 0.8);
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	max-width: 600px;
	line-height: 1.75;
}
.hero .heritage-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(184, 150, 90, 0.15);
	border: 1px solid rgba(184, 150, 90, 0.3);
	border-radius: 100px;
	padding: 0.45rem 1.25rem;
	font-family: 'Outfit', sans-serif;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--gold-light);
	letter-spacing: 0.02em;
	margin-bottom: 1.75rem;
}

/* --- Product Hero (inner pages) --- */
.product-hero {
	position: relative;
	background-color: var(--navy);
	color: var(--white);
	padding: 7rem 0 4rem;
	overflow: hidden;
}
.product-hero::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: radial-gradient(ellipse at 30% 50%, rgba(184, 150, 90, 0.06) 0%, transparent 60%);
	pointer-events: none;
}
.product-hero h1 {
	color: var(--white);
}
.product-hero .lead {
	color: rgba(255, 255, 255, 0.75);
	max-width: 650px;
}

/* --- Section Padding --- */
.section {
	padding: 5rem 0;
}

/* --- Gold Rule (Divider) --- */
.gold-rule {
	width: 60px;
	height: 2px;
	background-color: var(--gold);
	border: none;
	margin: 1.5rem 0;
	opacity: 1;
}

/* --- Cards --- */
.card-custom {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2.5rem;
	transition: all var(--transition);
	height: 100%;
}
.card-custom:hover {
	border-color: var(--gold);
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px);
}
.card-custom .card-icon {
	width: 56px;
	height: 56px;
	background: var(--gold-subtle);
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
}
.card-custom .card-icon i {
	font-size: 1.4rem;
	color: var(--gold);
}
.card-custom h3 {
	font-size: 1.35rem;
	margin-bottom: 0.85rem;
}
.card-custom p {
	color: var(--slate-light);
	font-size: 0.95rem;
	margin-bottom: 1.25rem;
}
.card-custom .card-link {
	font-family: 'Outfit', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--gold);
	letter-spacing: 0.03em;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	transition: gap var(--transition), color var(--transition);
}
.card-custom .card-link:hover {
	gap: 0.65rem;
	color: var(--navy);
}

/* --- Card Title Links --- */
.card-title-link {
	color: var(--navy);
	text-decoration: none;
	transition: color var(--transition);
}
.card-title-link:hover {
	color: var(--gold);
}

/* --- Product Logos --- */
.product-logo-area {
	height: 80px;
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}
.product-logo-area img {
	max-height: 65px;
	max-width: 100%;
	object-fit: contain;
	transition: transform var(--transition);
}
.product-logo-area img:hover {
	transform: scale(1.03);
}
.product-logo-area .logo-dark-bg {
	background: var(--navy);
	border-radius: var(--radius);
	padding: 8px 14px;
	display: inline-flex;
	align-items: center;
}
.product-logo-area .logo-dark-bg img {
	height: 55px;
	width: auto;
}
.product-logo {
	display: block;
	max-width: 100%;
	transition: transform var(--transition);
}
.product-logo:hover {
	transform: scale(1.03);
}

/* --- Trust / Stats Bar --- */
.stats-bar {
	background: var(--white);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 3rem 0;
}
.stat-item {
	text-align: center;
	padding: 1rem;
}
.stat-number {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	font-weight: 700;
	color: var(--navy);
	line-height: 1;
	margin-bottom: 0.5rem;
}
.stat-label {
	font-family: 'Outfit', sans-serif;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--slate-light);
}

/* --- Feature List --- */
.feature-item {
	display: flex;
	gap: 1.25rem;
	margin-bottom: 2rem;
}
.feature-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	background: var(--gold-subtle);
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
}
.feature-icon i {
	font-size: 1.15rem;
	color: var(--gold);
}
.feature-item h4 {
	font-family: 'Outfit', sans-serif;
	font-size: 1.05rem;
	font-weight: 600;
	margin-bottom: 0.3rem;
}
.feature-item p {
	font-size: 0.92rem;
	color: var(--slate-light);
	margin-bottom: 0;
}

/* --- Pricing Card --- */
.pricing-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2.5rem;
	text-align: center;
	transition: all var(--transition);
}
.pricing-card:hover {
	border-color: var(--gold);
	box-shadow: var(--shadow-lg);
}
.pricing-card .price {
	font-family: 'Cormorant Garamond', serif;
	font-size: 3rem;
	font-weight: 700;
	color: var(--navy);
	line-height: 1;
}
.pricing-card .price-period {
	font-family: 'Outfit', sans-serif;
	font-size: 0.85rem;
	color: var(--slate-light);
}

/* --- CTA Section --- */
.cta-section {
	background: var(--navy);
	color: var(--white);
	padding: 5rem 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.cta-section::before {
	content: '';
	position: absolute;
	top: -50%; left: -20%;
	width: 60%; height: 200%;
	background: radial-gradient(ellipse, rgba(184, 150, 90, 0.06) 0%, transparent 70%);
	pointer-events: none;
}
.cta-section h2 {
	color: var(--white);
	margin-bottom: 1rem;
}
.cta-section p {
	color: rgba(255, 255, 255, 0.75);
	max-width: 550px;
	margin: 0 auto 2rem;
}

/* --- Contact Form --- */
.form-label {
	font-family: 'Outfit', sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--navy);
	margin-bottom: 0.4rem;
}
.form-control,
.form-select {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.7rem 1rem;
	font-family: 'Outfit', sans-serif;
	font-size: 0.95rem;
	color: var(--slate);
	background-color: var(--white);
	transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus,
.form-select:focus {
	border-color: var(--gold);
	box-shadow: 0 0 0 3px var(--gold-subtle);
}
textarea.form-control {
	min-height: 140px;
	resize: vertical;
}

/* --- Footer --- */
.footer {
	background-color: var(--navy);
	color: rgba(255, 255, 255, 0.6);
	padding: 4rem 0 2rem;
}
.footer h5 {
	font-family: 'Outfit', sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--white);
	margin-bottom: 1.25rem;
}
.footer a {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem;
	transition: color var(--transition);
}
.footer a:hover {
	color: var(--gold-light);
}
.footer-brand {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 0.75rem;
}
.footer-brand span {
	color: var(--gold);
}
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1.5rem;
	margin-top: 3rem;
	font-size: 0.82rem;
}

/* --- Scroll Animations --- */
.fade-up {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible {
	opacity: 1;
	transform: translateY(0);
}
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* --- Industries Grid --- */
.industry-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 100px;
	padding: 0.55rem 1.25rem;
	font-family: 'Outfit', sans-serif;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--navy);
	transition: all var(--transition);
}
.industry-badge:hover {
	border-color: var(--gold);
	box-shadow: var(--shadow-sm);
}
.industry-badge i {
	color: var(--gold);
}

/* --- Timeline --- */
.timeline-item {
	position: relative;
	padding-left: 2.5rem;
	padding-bottom: 2.5rem;
	border-left: 2px solid var(--border);
}
.timeline-item:last-child {
	padding-bottom: 0;
	border-left-color: transparent;
}
.timeline-item::before {
	content: '';
	position: absolute;
	left: -6px;
	top: 4px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--gold);
	border: 2px solid var(--white);
}
.timeline-year {
	font-family: 'Outfit', sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 0.25rem;
}

/* --- Compliance Badges --- */
.compliance-badge {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
	text-align: center;
	transition: all var(--transition);
	height: 100%;
}
.compliance-badge:hover {
	border-color: var(--gold);
	box-shadow: var(--shadow-md);
}
.compliance-badge i {
	font-size: 1.75rem;
	color: var(--gold);
}
.compliance-badge h4 {
	font-family: 'Outfit', sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 0.4rem;
}
.compliance-badge p {
	font-size: 0.82rem;
	color: var(--slate-light);
	margin-bottom: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
	.hero {
		padding: 6.5rem 0 4rem;
		text-align: center;
	}
	.hero .lead {
		margin-left: auto;
		margin-right: auto;
	}
	.hero .heritage-badge {
		margin-left: auto;
		margin-right: auto;
	}
	.product-hero {
		padding: 6rem 0 3rem;
		text-align: center;
	}
	.product-hero .lead {
		margin-left: auto;
		margin-right: auto;
	}
	.section {
		padding: 3.5rem 0;
	}
	.navbar-nu .nav-link.active::after {
		display: none;
	}
}

@media (max-width: 575.98px) {
	.hero {
		padding: 5.5rem 0 3rem;
	}
	.card-custom {
		padding: 1.75rem;
	}
	.stat-number {
		font-size: 2.2rem;
	}
}
