/* Banco Galicia - Custom Styles */

:root {
	--primary: #0a2540;
	--secondary: #1e4976;
	--accent: #d4af37;
	--accent-dark: #b8941f;
	--neutral-50: #f8f9fa;
	--neutral-100: #e9ecef;
	--neutral-200: #dee2e6;
}

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

body {
	font-family: 'Work Sans', sans-serif;
	color: var(--primary);
	overflow-x: hidden;
}

.font-serif {
	font-family: 'Cormorant Garamond', serif;
}

.text-primary {
	color: var(--primary);
}

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

.bg-primary {
	background-color: var(--primary);
}

.bg-accent {
	background-color: var(--accent);
}

/* Navigation */
.nav-link {
	color: var(--primary);
	font-weight: 500;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	position: relative;
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--accent);
	transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
	width: 100%;
}

.nav-link:hover,
.nav-link.active {
	color: var(--accent);
}

/* Buttons */
.btn-primary {
	background: var(--accent);
	color: var(--primary);
	padding: 0.875rem 2rem;
	border-radius: 0.5rem;
	font-weight: 600;
	transition: all 0.3s ease;
	display: inline-block;
	text-decoration: none;
	border: 2px solid var(--accent);
}

.btn-primary:hover {
	background: var(--accent-dark);
	border-color: var(--accent-dark);
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
	background: transparent;
	color: var(--primary);
	padding: 0.875rem 2rem;
	border-radius: 0.5rem;
	font-weight: 600;
	transition: all 0.3s ease;
	display: inline-block;
	text-decoration: none;
	border: 2px solid var(--primary);
}

.btn-secondary:hover {
	background: var(--primary);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(10, 37, 64, 0.3);
}

.btn-accent {
	background: var(--accent);
	color: var(--primary);
	padding: 1rem 2.5rem;
	border-radius: 0.5rem;
	font-weight: 600;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	display: inline-block;
	text-decoration: none;
	border: none;
}

.btn-accent:hover {
	background: white;
	color: var(--primary);
	transform: translateY(-2px);
	box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
	background: transparent;
	color: white;
	padding: 1rem 2.5rem;
	border-radius: 0.5rem;
	font-weight: 600;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	display: inline-block;
	text-decoration: none;
	border: 2px solid white;
}

.btn-outline-white:hover {
	background: white;
	color: var(--primary);
	transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f5 100%);
	position: relative;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 50%;
	height: 100%;
	background: radial-gradient(
		circle at 70% 30%,
		rgba(212, 175, 55, 0.1) 0%,
		transparent 60%
	);
	pointer-events: none;
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

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

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

@keyframes pulseSlow {
	0%,
	100% {
		opacity: 0.2;
	}
	50% {
		opacity: 0.4;
	}
}

.animate-fade-in {
	animation: fadeIn 1s ease-out;
}

.animate-slide-up {
	animation: slideUp 0.8s ease-out;
}

.animate-slide-up.delay-1 {
	animation-delay: 0.2s;
	opacity: 0;
	animation-fill-mode: forwards;
}

.animate-slide-up.delay-2 {
	animation-delay: 0.4s;
	opacity: 0;
	animation-fill-mode: forwards;
}

.animate-fade-in.delay-3 {
	animation-delay: 0.6s;
	opacity: 0;
	animation-fill-mode: forwards;
}

.animate-float {
	animation: float 6s ease-in-out infinite;
}

.animate-pulse-slow {
	animation: pulseSlow 4s ease-in-out infinite;
}

/* Cards */
.trust-card {
	background: white;
	padding: 2.5rem;
	border-radius: 1rem;
	border: 1px solid var(--neutral-200);
	transition: all 0.3s ease;
}

.trust-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(10, 37, 64, 0.1);
	border-color: var(--accent);
}

.feature-item {
	padding: 1.5rem;
	border-radius: 0.75rem;
	transition: all 0.3s ease;
}

.feature-item:hover {
	background: var(--neutral-50);
}

/* Stats */
.stat-item {
	text-align: center;
}

/* Icon Wrapper */
.icon-wrapper {
	width: 4rem;
	height: 4rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(212, 175, 55, 0.1);
	border-radius: 0.75rem;
}

/* Security Badges */
.security-badge {
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
	color: white;
	padding: 3rem;
	border-radius: 1.5rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.security-badge::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(
		circle,
		rgba(212, 175, 55, 0.2) 0%,
		transparent 70%
	);
	animation: pulseSlow 8s ease-in-out infinite;
}

/* Info Cards */
.info-card {
	background: white;
	border: 2px solid var(--neutral-200);
	border-radius: 1rem;
	padding: 2rem;
	transition: all 0.3s ease;
}

.info-card:hover {
	border-color: var(--accent);
	box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

/* Feature Grid */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

/* Process Steps */
.process-step {
	position: relative;
	padding-left: 4rem;
}

.process-step::before {
	content: '';
	position: absolute;
	left: 0.75rem;
	top: 3rem;
	bottom: -2rem;
	width: 2px;
	background: linear-gradient(to bottom, var(--accent) 0%, transparent 100%);
}

.process-step:last-child::before {
	display: none;
}

.step-number {
	position: absolute;
	left: 0;
	top: 0;
	width: 3rem;
	height: 3rem;
	background: var(--accent);
	color: var(--primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.25rem;
}

/* FAQ Section */
.faq-item {
	border-bottom: 1px solid var(--neutral-200);
	padding: 1.5rem 0;
}

.faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	font-weight: 600;
	font-size: 1.125rem;
	color: var(--primary);
	transition: color 0.3s ease;
}

.faq-question:hover {
	color: var(--accent);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	color: #6b7280;
	padding-top: 0;
}

.faq-item.active .faq-answer {
	max-height: 500px;
	padding-top: 1rem;
}

.faq-icon {
	transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
	transform: rotate(180deg);
}

/* Tables */
table {
	width: 100%;
	border-collapse: collapse;
}

th {
	background: var(--neutral-50);
	padding: 1rem;
	text-align: left;
	font-weight: 600;
	color: var(--primary);
	border-bottom: 2px solid var(--accent);
}

td {
	padding: 1rem;
	border-bottom: 1px solid var(--neutral-200);
}

tr:hover {
	background: var(--neutral-50);
}

/* Container */
.container {
	max-width: 1280px;
}

/* Responsive */
@media (max-width: 768px) {
	.hero-section {
		padding-top: 6rem;
		padding-bottom: 3rem;
	}

	h1 {
		font-size: 2.5rem !important;
	}

	h2 {
		font-size: 2rem !important;
	}

	.btn-primary,
	.btn-secondary {
		padding: 0.75rem 1.5rem;
		width: 100%;
		text-align: center;
	}

	.feature-grid {
		grid-template-columns: 1fr;
	}
}

/* Smooth Scrolling */
html {
	scroll-behavior: smooth;
}

/* Selection */
::selection {
	background: var(--accent);
	color: var(--primary);
}

/* Focus States */
button:focus,
a:focus {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* Loading States */
.loading {
	opacity: 0.6;
	pointer-events: none;
}

/* Gradients */
.gradient-primary {
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.gradient-accent {
	background: linear-gradient(
		135deg,
		var(--accent) 0%,
		var(--accent-dark) 100%
	);
}

/* Shadows */
.shadow-soft {
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
		0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-medium {
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
		0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-large {
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
		0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Hover Effects */
.hover-lift {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(10, 37, 64, 0.15);
}
