:root {
    --primary-color: #6a5acd; /* Botón con color slateblue (púrpura) */
    --secondary-color: #9370db; /* Color púrpura medio */
    --text-color: #333;
    --background-color: #d3d3d3; /* Color gris claro */
}

.objetivo-main-container {
    background-color: var(--background-color); /* Fondo gris claro */
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 50px 0;
}

.objetivo-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    padding: 40px;
    display: grid;
    grid-template-areas: 
        "hero hero hero"
        "problema propuesta beneficios"
        "stats stats stats"
        "cta cta cta";
    gap: 30px;
}

.objetivo-hero {
    grid-area: hero;
    text-align: center;
    padding: 20px;
}

.objetivo-title {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 20px;
}

.objetivo-mission {
    color: #666;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
}

.objetivo-columns {
    grid-area: problema propuesta beneficios;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.objetivo-column {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.objetivo-column:hover {
    transform: translateY(-10px);
}

.objetivo-column h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.objetivo-column ul {
    list-style-type: none;
    padding: 0;
}

.objetivo-column ul li {
    margin-bottom: 10px;
    color: #555;
}

.objetivo-stats {
    grid-area: stats;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    background: #f1f4f6;
    padding: 30px;
    border-radius: 10px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.objetivo-stats .stat-number {
    font-size: 3rem;
}

.objetivo-stats .stat-item:nth-child(2) .stat-number {
    position: relative;
}

.objetivo-stats .stat-item:nth-child(2) .stat-number::after {
    content: '%';
    font-size: 3rem;
    position: absolute;
    top: -0.1em;
    margin-left: 3px;
    color: var(--primary-color);
}

.stat-label {
    color: #666;
    margin-top: 10px;
}

.objetivo-cta {
    grid-area: cta;
    text-align: center;
    padding: 30px;
}

@keyframes spark {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 25px rgba(173, 216, 230, 0.6); /* Chispa con color azul claro */
    }
}

.btn-unete {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    animation: spark 2s ease-in-out infinite; /* Agregamos la animación aquí */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .btn-unete {
        padding: 10px 20px;
        font-size: 20px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .objetivo-grid-container {
        grid-template-areas: 
            "hero"
            "problema"
            "propuesta"
            "beneficios"
            "stats"
            "cta";
        grid-template-columns: 1fr;
    }

    .objetivo-columns {
        grid-template-columns: 1fr;
    }

    .objetivo-stats {
        grid-template-columns: 1fr;
    }
}
