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

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

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

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

body {
	font-family: Arial, sans-serif;
	line-height: 1.6;
}

/* Hero Section */
.main-content {
	flex: 1;
}

.hero-section {
	width: 100%;
	padding: 48px 0;
	perspective: 1000px;
	background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.hero-section:hover .hero-image img {
    animation: floatHorizontal 4s ease-in-out infinite;
}

.hero-text, .hero-buttons {
    transition: transform 0.3s ease-out;
}

.hero-section:hover .hero-text,
.hero-section:hover .hero-buttons {
    transform: translateX(-5px);
}

.hero-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
	.hero-grid {
		grid-template-columns: 1fr 500px;
		gap: 48px;
	}
}

.hero-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
}

.hero-heading h1 {
	font-size: 32px;
	font-weight: bold;
	line-height: 1.2;
	animation: fadeInUp 0.8s ease-out;
}

@media (min-width: 768px) {
	.hero-heading h1 {
		font-size: 48px;
	}
}

.hero-heading p {
	max-width: 600px;
	color: #666;
	font-size: 18px;
	animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

@media (min-width: 400px) {
	.hero-buttons {
		flex-direction: row;
	}
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color .3s ease;
}

.btn-primary {
	background-color: #174482;
	color: white;
}

.btn-primary:hover {
	background-color: #0056b3;
}

.btn-outline {
	border: 2px solid #174482;
	color: #174482;
	background-color: transparent;
}

.btn-outline:hover {
	background-color: #174482;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.icon-arrow {
	margin-left: 8px;
	font-size: 18px;
}

.hero-image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-bg {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(23,68,130,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: -1;
  transition: transform 0.5s ease-out;
}

.hero-section:hover .hero-image-bg {
  transform: scale(1.1);
}

.hero-image {
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-image {
    perspective: 1000px;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    object-fit: contain;
    transition: all 0.5s ease-out;
    transform-origin: center center;
}

@keyframes floatHorizontal {
    0% {
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(15px) rotate(2deg);
    }
    100% {
        transform: translateX(0) rotate(0deg);
    }
}
/* --- Hero Form --- */
.hero-form {
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.form-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 1rem;
}

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

.btn {
  width: 100%;
}

/* --- Benefits Section --- */
.benefits-section {
	width: 100%;
	padding: 3rem 0;
	background-color: #f8fafc;
}

.benefits-header {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.badge {
	display: inline-flex;
	align-items: center;
	background-color: #174482;
	color: white;
	font-size: .75rem;
	font-weight: 600;
	padding: .25rem .625rem;
	border-radius: 9999px;
}

.badge:hover{
	background-color: #235294;
	transition-duration: 150ms;
	transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.title {
	font-size: 2rem;
	font-weight: bold;
	letter-spacing: -.025em;
}

@media (min-width: 640px) {
	.title {
		font-size: 3rem;
	}
}

.subtitle {
	max-width: 900px;
	color: #64748b;
	font-size: 1.25rem;
	line-height: 1.75;
}

.benefits-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding-top: 3rem;
}

@media (min-width: 1024px) {
	.benefits-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 3rem;
	}
}

.benefit-column {
	display: grid;
	gap: 1.5rem;
}

.benefit-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.5s ease-out;
}

.benefit-item.visible {
	opacity: 1;
	transform: translateY(0);
}

.benefit-icon {
	width: 40px;
	height: 40px;
	color: #174482;
}

.benefit-title {
	font-size: 1.25rem;
	font-weight: bold;
}

.benefit-description {
	color: #64748b;
}

/* --- How It Works Section --- */
.how-it-works-section {
	width: 100%;
	padding: 3rem 0;
}

.text-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.text-content {
	margin-bottom: 2rem;
}

.badge {
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	padding: .125rem .625rem;
	font-size: .75rem;
	font-weight: 600;
	background-color: #174482;
	color: white;
}

.section-title {
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: -.02em;
	margin-top: .5rem;
}

.section-description {
	max-width: 900px;
	margin: 0 auto;
	font-size: 1.125rem;
	color: #6b7280;
}

.steps-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: 3rem;
}

@media (min-width: 768px) {
	.how-it-works-section {
		padding: 6rem 0;
	}
	
	.steps-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.step-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	border-radius: .75rem;
	padding: 1.5rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	animation: scaleIn 0.5s ease-out backwards;
}

.step-card:nth-child(1) { animation-delay: 0.2s; }
.step-card:nth-child(2) { animation-delay: 0.4s; }
.step-card:nth-child(3) { animation-delay: 0.6s; }

.step-card:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
	transform: translateY(-5px);
}

.icon-wrapper {
	display: flex;
	height: 3rem;
	width: 3rem;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background-color: #174482;
	color: white;
	font-size: 1.5rem;
}

.step-title {
	font-size: 1.25rem;
	font-weight: 700;
}

.step-description {
	text-align: center;
	color: #6b7280;
}

.icon-chevron {
	position: absolute;
	right: 1rem;
	top: 2rem;
	opacity: 0;
	transition: opacity .3s ease;
	font-size: 1.5rem;
}

.step-card:hover .icon-chevron {
	opacity: 1;
}

/* --- Testimonials Section --- */
.testimonials-section {
	width: 100%;
	padding: 4rem 0;
	background-color: #f8fafc;
}

.text-center {
	text-align: center;
	margin-bottom: 3rem;
}

.badge {
	display: inline-block;
	background-color: #174482;
	color: white;
	font-size: .75rem;
	font-weight: 600;
	padding: .25rem .75rem;
	border-radius: 9999px;
}

.section-title {
	font-size: 2rem;
	font-weight: 700;
	margin-top: 1rem;
}

.section-subtitle {
	max-width: 700px;
	margin: 1rem auto 0;
	font-size: 1.125rem;
	color: #64748b;
}

.testimonials-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial-card {
	background: white;
	border-radius: 1rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	padding: 1.5rem;
}

.testimonial-content {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.avatar img {
	width: 40px;
	height: 40px;
	border-radius: 9999px;
	object-fit: cover;
}

.testimonial-text {
	flex: 1;
}

.testimonial-header h4 {
	margin: 0;
	font-weight: 600;
}

.testimonial-header .role {
	font-size: .875rem;
	color: #94a3b8;
}

.stars span {
	color: #174482;
	font-size: 1rem;
}

.testimonial-text p {
	color: #64748b;
	margin-top: .5rem;
}

.wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	padding-top: 120px;
	padding-bottom: 60px;
}


/* --- CTA Section --- */
.cta-section {
	width: 100%;
	padding: 3rem 0;
	background-color: #174482;
	color: #ffffff;
}

@media (min-width: 768px) {
	.cta-section {
		padding: 6rem 0;
	}
}

@media (min-width: 1024px) {
	.cta-section {
		padding: 8rem 0;
	}
}

.cta-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

.cta-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	text-align: center;
}

.cta-text {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.cta-title {
	font-size: 2rem;
	font-weight: bold;
	letter-spacing: -.02em;
}

@media (min-width: 640px) {
	.cta-title {
		font-size: 2.5rem;
	}
}

@media (min-width: 768px) {
	.cta-title {
		font-size: 3rem;
	}
}

.cta-description {
	max-width: 700px;
	margin: 0 auto;
	font-size: 1rem;
}

@media (min-width: 768px) {
	.cta-description {
		font-size: 1.25rem;
	}
}

.cta-buttons {
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

@media (min-width: 400px) {
	.cta-buttons {
		flex-direction: row;
	}
}

.btn {
	display: inline-block;
	padding: .75rem 2rem;
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	border-radius: .375rem;
	text-decoration: none !important;
	transition: background-color .3s ease, color .3s ease;
}

/* Secondary Button */
.btn-secondary {
	background-color: #ffffff;
	color: #174482;
	border: none;
}

/* Outline Button */
.btn-outline {
	background-color: transparent;
	border: 2px solid #ffffff;
	color: #ffffff;
}

.btn-outline:hover {
	background-color: #ffffff;
	color: #174482;
}

.btn-contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 500;
	padding: 0 32px;
	height: 50px;
	border-radius: 6px;
	border: 1px solid #d1d5db;
	background-color: white;
	color: #333;
	transition: all .2s ease;
	cursor: pointer;
	text-decoration: none;
}

.btn-contact:hover {
	background-color: #f0f0f0;
	color: #111;
}

.btn-contact:focus {
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
}

.btn-contact:disabled {
	opacity: .5;
	pointer-events: none;
}

.page-container {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	padding-top: 80px; /* Ajuste para el header fijo */
}

/* --- Carousel (Testimonials Section - as named in previous context) --- */
.testimonials-section {
	width: 100%;
	padding: 60px 0;
	background-color: #f8fafc;
}

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

.text-center {
	text-align: center;
	margin-bottom: 40px;
}

.trusted-by {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 9999px;
	background-color: #174482;
	color: white;
	margin-bottom: 10px;
}

.title {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 10px;
}

.subtitle {
	max-width: 900px;
	margin: 0 auto;
	color: #64748b;
	font-size: 18px;
}

.carousel-wrapper {
	overflow: hidden;
	padding: 40px 0;
	position: relative;
}

.carousel-track {
	display: flex;
	gap: 64px;
	animation: scroll 40s linear infinite;
}

.logo-item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	height: 64px;
	filter: grayscale(100%);
	transition: filter .3s ease;
}

.logo-item:hover {
	filter: grayscale(0%);
}

.logo-item img {
	object-fit: contain;
	width: 160px;
	height: 60px;
}

/* Animation for infinite scroll */
@keyframes scroll {
	0% {
		transform: translateX(0);
	}
	
	100% {
		transform: translateX(-50%);
	}
}

/* --- Stats Section --- */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
	padding-top: 32px;
	margin-top: 40px;
	border-top: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
	.stats-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.stat-box {
	text-align: center;
}

.stat-number {
	font-size: 32px;
	font-weight: bold;
	color: #174482;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.8s, transform 0.8s;
}

.stat-number.visible {
	opacity: 1;
	transform: translateY(0);
}

.stat-label {
	font-size: 14px;
	color: #6b7280;
}

.logo-img {
	height: 40px;
}

.hero-form h3 {
  color: #174482;
}

.text-center {
  text-align: center;
}


/* Mobile Menu Styles */
@media (max-width: 767px) {
    header nav.md\:flex {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 64px; /* Height of the header */
        left: 0;
        right: 0;
        background-color: white;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 30;
    }

    header nav.md\:flex.mobile-menu-active {
        display: flex; /* Show when active */
    }

    header nav.md\:flex a {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #eee;
        text-align: center;
    }

    header nav.md\:flex a:last-child {
        border-bottom: none;
    }
}
