:root {
    --primary-color: #0052cc; /* Un azul corporativo y confiable */
    --secondary-color: #ffc107; /* Un amarillo para acentos y CTAs */
    --dark-color: #0f172a; /* Azul oscuro casi negro para texto */
    --light-color: #f8fafc; /* Un blanco roto para fondos */
    --gray-color: #64748b;
    --white-color: #ffffff;
    --font-family-headings: 'Poppins', sans-serif;
    --font-family-body: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-family-body);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-family-headings);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--gray-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-family-headings);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #003d99;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Navbar */
.navbar {
    background: var(--white-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-family: var(--font-family-headings);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.navbar nav ul {
    display: flex;
    align-items: center;
}

.navbar nav ul li {
    margin-left: 20px;
}

.navbar nav a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 5px 10px;
}
.navbar nav a:not(.btn):hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: url('hero-background.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    padding-top: 80px; /* Navbar height */
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7); /* dark-color with alpha */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    margin-bottom: 1rem;
    font-size: 3.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Sections General */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
    font-size: 1.2rem;
}

/* Process Section */
.process-section {
    background-color: var(--light-color);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.process-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
}

.process-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Feature Section */
.feature-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.feature-image, .feature-content {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: 10px;
}
.feature-content .section-title {
    text-align: left;
}
.feature-content ul li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--gray-color);
    display: flex;
    align-items: flex-start;
}
.check-mark {
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: bold;
}
.feature-content ul li strong {
    color: var(--dark-color);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--light-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimonial-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    float: left;
    margin-right: 20px;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-color);
    margin-bottom: 1rem;
}
.testimonial-card cite {
    font-weight: 600;
    color: var(--dark-color);
    font-style: normal;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
}

.cta-section .section-title, .cta-section .section-subtitle {
    color: var(--white-color);
}
.cta-section .section-subtitle {
    opacity: 0.9;
}
.cta-form {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.cta-form input {
    padding: 15px;
    min-width: 280px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}
.cta-form .btn {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}
.cta-form .btn:hover {
    background-color: #ffab00;
}


/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--gray-color);
    text-align: center;
    padding: 30px 0;
}
.footer p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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


/* Responsive */
@media(max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    
    .navbar .container { flex-direction: column; }
    .navbar nav { margin-top: 10px; }
    .navbar nav ul li { margin: 0 10px; }
    
    .feature-container { flex-direction: column; }
    .testimonials-grid { grid-template-columns: 1fr; }

    .cta-form {
        flex-direction: column;
        align-items: center;
    }
    .cta-form input {
        width: 100%;
        max-width: 400px;
    }
}

