/**
 * How It Works Section - Cómo Funciona
 */

.how-section {
    position: relative;    /* canvas anchor */
    overflow: hidden;      /* clip lines at section edges */
    padding: 80px 20px;
    background-color: #0d0d0d;
}

.how-container {
    max-width: 1200px;
    margin: 0 auto;
}

.how-title {
    font-size: 2.5rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.how-title em {
    color: #f97316;
    font-style: italic;
    font-weight: 900;
}

.how-subtitle {
    text-align: center;
    color: #9ca3af;
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.how-card {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.how-card:hover {
    border-color: #f97316;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.15);
}

.how-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.how-icon-circle {
    width: 56px;
    height: 56px;
    background-color: rgba(249, 115, 22, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-icon-circle svg {
    width: 28px;
    height: 28px;
    color: #f97316;
    stroke-width: 2.5;
}

.how-number {
    font-size: 4rem;
    font-weight: 900;
    color: #333;
    line-height: 1;
}

.how-card-title {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 700;
}

.how-card-text {
    font-size: 1rem;
    color: #9ca3af;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 968px) {
    .how-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .how-section {
        padding: 60px 20px;
    }
    
    .how-title {
        font-size: 2rem;
    }
    
    .how-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .how-card {
        padding: 24px;
    }
    
    .how-number {
        font-size: 3rem;
    }
}
